:root {
  --bg: #F8F7F5;
  --surface: #FFFFFF;
  --surface-soft: #FBFAF8;
  --blue: #8FAED1;
  --blue-light: #AFC6E0;
  --blue-soft: #D6E3F1;
  --blue-dark: #6F95BF;
  --blue-deep: #4F7DAE;
  --text: #3F3A36;
  --text-secondary: #6F685F;
  --text-muted: #8C847B;
  --line: #E8E3DC;
  --shadow-sm: 0 8px 20px rgba(63, 58, 54, 0.05);
  --shadow-md: 0 18px 45px rgba(63, 58, 54, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-pill: 999px;
  --page-width: 1360px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

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

.find-shell {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
}

/* nav */
.find-header {
  padding: 20px 0 8px;
  background: var(--bg);
  border-bottom: 1px solid rgba(232, 227, 220, 0.6);
}

.find-nav {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.find-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.find-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.find-brand-name {
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
}

.find-nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.find-nav-links a,
.find-login {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.find-nav-links a.active {
  color: var(--blue-deep);
  position: relative;
}

.find-nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
}

.find-nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.find-nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* hero */
.find-hero {
  padding: 0 0 18px;
  background:
    radial-gradient(circle at 78% 28%, rgba(143, 174, 209, 0.18), transparent 28%),
    linear-gradient(180deg, #F8F7F5 0%, #EFF4FA 100%);
}

.find-hero-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 38px;
  align-items: end;
  padding: 42px 0 22px;
}

.find-hero-copy h1 {
  margin: 0;
  font-size: clamp(54px, 5.6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--text);
}

.find-hero-copy h1 span {
  display: block;
  color: var(--blue);
}

.find-hero-copy p {
  margin: 22px 0 0;
  max-width: 340px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.find-search-panel {
  background: transparent;
}

.search-grid {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 0.9fr 150px;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.search-field {
  background: var(--surface);
  border: 1px solid rgba(232, 227, 220, 0.7);
  border-radius: 18px;
  padding: 16px 18px;
}

.search-field label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.search-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.find-search-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 0;
}

.search-btn {
  border: 0;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.search-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-left: 8px;
}

.search-trust span {
  font-size: 15px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 18px;
}

.search-trust span::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
}

#time-filter {
  width: 100%;
  height: 64px;
  border: 1px solid #e8e3dc;
  border-radius: 18px;
  background: #ffffff;
  padding: 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #3f3a36;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

#time-filter:focus {
  outline: none;
  border-color: #8faed1;
  box-shadow: 0 0 0 4px rgba(143, 174, 209, 0.15);
}

.search-field {
  position: relative;
}

.search-field::after {
  content: "⌄";
  position: absolute;
  right: 18px;
  top: 48px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #8c847b;
  font-size: 14px;
}


/* toolbar */
.find-toolbar {
  padding: 14px 0 14px;
  background: var(--bg);
}

.toolbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.filter-chips {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.chip,
.view-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 18px;
  border-radius: 18px;
  cursor: pointer;
}

.chip-main,
.view-btn.active {
  background: var(--blue-soft);
  border-color: var(--blue-light);
  color: var(--blue-deep);
}

/* results */
.find-results {
  padding: 0 0 26px;
}

.results-layout {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 20px;
  align-items: start;
}

.results-list,
.map-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.results-list {
  padding: 18px;
}

.results-head {
  margin-bottom: 16px;
}

.results-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}

.results-head p {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.cleaner-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(232, 227, 220, 0.8);
  border-radius: 22px;
  background: var(--surface);
  margin-bottom: 14px;
}


.cleaner-image {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.cleaner-image img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
}

.cleaner-content {
  display: flex;
  flex-direction: column;
}

.cleaner-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cleaner-top h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
}

.rating-row {
  font-size: 14px;
  color: #E5A93C;
}

.rating-row span {
  color: var(--text-secondary);
  margin-left: 6px;
}

.heart-btn {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.service-tags span {
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius-pill);
}

.cleaner-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-secondary);
}

.cleaner-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

.profile-btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 14px 26px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 15px;
}

.alerts-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  margin-top: 8px;
}

.alerts-box strong {
  display: block;
  margin-bottom: 4px;
}

.alerts-box p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.alerts-btn {
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue-deep);
  border-radius: 16px;
  padding: 13px 18px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.toolbar-inner {
  position: relative;
}

.filters-dropdowns {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 30;
}

.filter-dropdown {
  display: none;
  width: 280px;
  background: #ffffff;
  border: 1px solid #e8e3dc;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 22px 55px rgba(63, 58, 54, 0.12);
}

.filter-dropdown.active {
  display: grid;
  gap: 10px;
}

.filter-dropdown h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #3f3a36;
}

.filter-option,
.checkbox-option {
  width: 100%;
  border: 1px solid #e8e3dc;
  background: #fbfaf8;
  border-radius: 14px;
  padding: 12px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #3f3a36;
  text-align: left;
  cursor: pointer;
}

.filter-option:hover {
  border-color: #8faed1;
  background: #eef4fb;
}

.filter-option.active {
  background: #8faed1;
  color: white;
  border-color: #8faed1;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* map */
.map-panel {
  position: relative;
  overflow: hidden;
  min-height: 920px;
}

.map-canvas {
  position: relative;
  min-height: 920px;
}

.map-canvas img {
  width: 100%;
  height: 920px;
  object-fit: cover;
  filter: saturate(0.85) brightness(1.02);
}

.map-overlay-card {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  width: 240px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.map-overlay-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
}

.map-overlay-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

.range-line {
  position: relative;
  height: 18px;
  margin-bottom: 10px;
}

.range-track {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--blue-light);
}

.range-thumb {
  position: absolute;
  top: 3px;
  left: 42%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
}

.range-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.draw-btn {
  width: 100%;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue-deep);
  border-radius: 16px;
  padding: 13px 16px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.map-status {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  color: var(--text-secondary);
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

.map-circle {
  position: absolute;
  top: 190px;
  left: 190px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 2px dashed var(--blue);
  background: rgba(143, 174, 209, 0.12);
  z-index: 2;
}

.map-pin,
.map-centre-pin {
  position: absolute;
  z-index: 3;
}

.map-pin {
  background: var(--blue);
  color: #fff;
  padding: 10px 12px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.map-centre-pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-deep);
  top: 410px;
  left: 430px;
}

.pin-one { top: 270px; left: 430px; }
.pin-two { top: 340px; right: 140px; }
.pin-three { top: 435px; left: 520px; }
.pin-four { bottom: 210px; left: 300px; }
.pin-five { bottom: 130px; right: 170px; }

.map-actions {
  position: absolute;
  right: 16px;
  bottom: 110px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-small-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
}

.redo-btn {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-deep);
  border-radius: 16px;
  padding: 16px 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* trust strip */
.find-trust-strip {
  padding: 0 0 26px;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.trust-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.trust-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* footer */
.find-footer {
  padding: 14px 0 24px;
  border-top: 1px solid var(--line);
}

.find-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding: 26px 0 22px;
}

.find-footer-brand {
  max-width: 320px;
}

.find-footer-brand h2 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 600;
  color: var(--blue);
}

.find-footer-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.find-footer-links {
  display: flex;
  gap: 50px;
}

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

.footer-column h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.footer-column a,
.footer-column p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.newsletter-box {
  display: flex;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.newsletter-box input {
  border: 0;
  background: transparent;
  padding: 14px 14px;
  font-family: inherit;
  width: 220px;
  outline: none;
}

.newsletter-box button {
  border: 0;
  background: var(--blue);
  color: #fff;
  width: 54px;
  font-size: 22px;
  cursor: pointer;
}

.find-footer-bottom {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-align: center;
}

.find-footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.cleaner-card,
.profile-btn,
.heart-btn,
.chip,
.view-btn,
.search-btn,
.alerts-btn,
.draw-btn,
.map-small-btn,
.redo-btn {
  cursor: pointer;
  transition: 0.2s ease;
}

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

.profile-btn:hover,
.search-btn:hover,
.alerts-btn:hover,
.draw-btn:hover,
.redo-btn:hover {
  background: #8FAED1;
  color: #fff;
}

.map-small-btn:hover,
.chip:hover,
.view-btn:hover {
  border-color: #8FAED1;
  color: #4F7DAE;
}

.heart-btn.active {
  color: #8FAED1;
}

/* responsive */
@media (max-width: 1280px) {
  .find-hero-grid,
  .results-layout,
  .trust-strip-inner {
    grid-template-columns: 1fr;
  }

  .map-panel,
  .map-canvas,
  .map-canvas img {
    min-height: 700px;
    height: 700px;
  }

  .map-circle {
    left: 22%;
    top: 160px;
  }

  .find-footer-top,
  .find-footer-links {
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .find-nav,
  .find-shell,
  .find-footer-bottom {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .find-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .find-nav-links {
    width: 100%;
    order: 3;
    flex-wrap: wrap;
    gap: 16px;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cleaner-card,
  .cleaner-card.featured {
    grid-template-columns: 1fr;
  }

  .cleaner-image img {
    min-height: 200px;
  }

  .map-overlay-card,
  .map-status {
    position: static;
    margin: 16px;
  }

  .map-circle {
    width: 360px;
    height: 360px;
    left: 20%;
    top: 180px;
  }

  .map-centre-pin {
    left: 48%;
    top: 50%;
  }

  .pin-one { top: 260px; left: 48%; }
  .pin-two { top: 310px; right: 18%; }
  .pin-three { top: 390px; left: 58%; }
  .pin-four { bottom: 190px; left: 28%; }
  .pin-five { bottom: 120px; right: 20%; }
}

@media (max-width: 640px) {
  .find-hero-copy h1 {
    font-size: 42px;
  }

  .find-nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .search-btn,
  .profile-btn,
  .alerts-btn {
    width: 100%;
    text-align: center;
  }

  .cleaner-bottom,
  .alerts-box {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-box {
    width: 100%;
  }

  .newsletter-box input {
    width: 100%;
  }
}

/* Make select look like chip buttons */
.filter-chips select.chip {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;

  padding: 10px 36px 10px 16px;
  border-radius: 999px;

  border: 1px solid #E8E3DC;
  background-color: #FBFAF8;
  color: #3F3A36;

  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover */
.filter-chips select.chip:hover {
  background-color: #F3F7FC;
  border-color: #8FAED1;
}

/* Active (match your chip-main style) */
.filter-chips select.chip:focus {
  outline: none;
  background-color: #EAF2FB;
  border-color: #8FAED1;
}

/* Custom dropdown arrow */
.filter-chips select.chip {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%236F685F' height='10' viewBox='0 0 20 20' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}