:root {
  --ink: #18241f;
  --muted: #6f7a74;
  --forest: #182f27;
  --forest-soft: #e8ede9;
  --cream: #f6f4ee;
  --paper: #fbfaf7;
  --white: #fff;
  --sand: #c9b59b;
  --line: #e4e4df;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

button,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.app-header {
  align-items: center;
  background: rgba(251, 250, 247, .94);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 44px;
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand,
.ai-status,
.saved-link {
  align-items: center;
  display: flex;
}

.brand {
  font-size: 15px;
  font-weight: 600;
  gap: 7px;
  letter-spacing: -.04em;
  width: fit-content;
}

.brand-mark {
  align-items: center;
  background: var(--forest);
  border-radius: 50%;
  color: var(--cream);
  display: flex;
  height: 23px;
  justify-content: center;
  width: 23px;
}

.brand-mark svg {
  height: 14px;
  stroke-width: 1.3;
  width: 14px;
}

.new-search {
  align-items: center;
  background: transparent;
  border: 0;
  color: #52615a;
  cursor: pointer;
  display: flex;
  font-size: 10px;
  gap: 7px;
  padding: 4px 9px;
}

.new-search svg {
  height: 12px;
  width: 12px;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.saved-link {
  color: #53625a;
  font-size: 10px;
  gap: 7px;
}

.saved-link svg {
  height: 13px;
  width: 13px;
}

.saved-link i {
  align-items: center;
  background: var(--forest);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  font-size: 7px;
  font-style: normal;
  height: 14px;
  justify-content: center;
  width: 14px;
}

.profile-button {
  background: #d9c7b1;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 8px;
  font-weight: 600;
  height: 25px;
  width: 25px;
}

.app-start {
  align-items: center;
  display: flex;
  height: calc(100dvh - 44px);
  min-height: 0;
  overflow: hidden;
  padding: clamp(22px, 3.5vh, 42px) 24px;
}

.start-content {
  margin: 0 auto;
  max-width: 1020px;
  text-align: center;
  width: 100%;
}

.ai-status {
  gap: 10px;
}

.start-content > .ai-status {
  justify-content: center;
}

.maya-orb,
.mini-orb {
  align-items: center;
  background: linear-gradient(140deg, #d8c5aa, #82958a);
  border-radius: 50%;
  color: white;
  display: flex;
  flex: 0 0 auto;
  font-size: 13px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.maya-orb svg {
  height: 15px;
  width: 15px;
}

.ai-status > span:last-child {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.ai-status strong {
  font-size: 13px;
}

.ai-status small {
  color: #839088;
  font-size: 10px;
  margin-top: 2px;
}

.start-content h1,
.result-title h1 {
  font-family: var(--serif);
  font-size: clamp(50px, 4.8vw, 69px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .93;
  margin: clamp(18px, 2.5vh, 25px) 0 clamp(13px, 2vh, 18px);
}

.start-content h1 em,
.result-title h1 em {
  color: #829188;
  font-weight: 400;
}

.start-intro {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 550px;
}

.inspiration-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(24px, 3.5vh, 35px) 0 clamp(17px, 2.5vh, 24px);
}

.inspiration-card {
  align-items: flex-end;
  background-color: #43544d;
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: flex;
  height: clamp(126px, 17vh, 158px);
  overflow: hidden;
  padding: 17px;
  position: relative;
  text-align: left;
  transition: transform 220ms ease;
}

.inspiration-card::before {
  background: linear-gradient(180deg, rgba(10,20,16,.05), rgba(10,20,16,.78));
  content: "";
  inset: 0;
  position: absolute;
}

.inspiration-card:hover {
  transform: translateY(-4px);
}

.inspiration-card > span {
  position: relative;
  z-index: 1;
}

.inspiration-card > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 10px;
}

.inspiration-card strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.inspiration-card small {
  color: rgba(255,255,255,.72);
  font-size: 10px;
}

.card-icon {
  align-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  display: flex;
  flex: 0 0 auto;
  font-size: 15px;
  height: 29px;
  justify-content: center;
  width: 29px;
}

.card-icon svg {
  height: 15px;
  width: 15px;
}

.card-honeymoon {
  background-image: url("assets/hero-villa.png");
}

.card-family {
  background-image: url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=700&q=82");
}

.card-slow {
  background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=700&q=82");
}

.card-celebration {
  background-image: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=700&q=82");
}

.main-composer {
  background: var(--white);
  border: 1px solid #dcded9;
  box-shadow: 0 20px 60px rgba(24, 47, 39, .08);
  margin: 0 auto;
  max-width: 720px;
  padding: 14px 18px 11px;
  text-align: left;
}

.main-composer label {
  color: #8b958f;
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.main-composer textarea,
.chat-composer textarea {
  background: transparent;
  border: 0;
  display: block;
  line-height: 1.45;
  outline: none;
  resize: none;
  width: 100%;
}

.main-composer textarea {
  font-family: var(--serif);
  font-size: 17px;
  min-height: 43px;
}

.main-composer textarea::placeholder,
.chat-composer textarea::placeholder {
  color: #9ba39e;
  opacity: 1;
}

.composer-footer,
.chat-composer-bottom {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.composer-tools {
  display: flex;
  gap: 6px;
}

.composer-tools button,
.filter-chip,
.filter-all,
.sort-button {
  align-items: center;
  background: #f5f5f1;
  border: 1px solid transparent;
  border-radius: 30px;
  color: #68746d;
  cursor: pointer;
  display: flex;
  font-size: 11px;
  gap: 6px;
  min-height: 31px;
  padding: 0 11px;
}

.composer-tools svg,
.filter-all svg {
  height: 13px;
  width: 13px;
}

.send-button {
  align-items: center;
  background: var(--forest);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  transition: transform 170ms ease, background 170ms ease;
  width: 38px;
}

.send-button:hover {
  background: #29473c;
  transform: translateY(-2px);
}

.send-button:disabled {
  cursor: wait;
  opacity: .55;
  transform: none;
}

.send-button svg {
  height: 17px;
  width: 17px;
}

.privacy-note {
  align-items: center;
  color: #919a95;
  display: flex;
  font-size: 10px;
  gap: 5px;
  justify-content: center;
  margin: clamp(10px, 1.7vh, 15px) 0 0;
}

.privacy-note svg {
  height: 11px;
  width: 11px;
}

.results-workspace {
  display: none;
  grid-template-columns: minmax(0, 1fr) 380px;
  height: calc(100vh - 44px);
  overflow: hidden;
  scroll-margin-top: 44px;
}

.results-workspace:target {
  display: grid;
}

@media (min-width: 901px) {
  .results-workspace.chat-panel-hidden {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-workspace.chat-panel-hidden .chat-panel {
    display: none;
  }

  .results-workspace.chat-panel-hidden .villa-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

body:has(.results-workspace:target) .app-start {
  display: none;
}

.listing-panel {
  min-width: 0;
  overflow-y: auto;
  padding: 29px 28px 50px;
  scrollbar-color: #c9ceca transparent;
  scrollbar-width: thin;
}

.listing-toolbar {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
}

.result-title {
  align-items: center;
  display: flex;
}

.mobile-back {
  display: none;
}

.result-kicker {
  align-items: center;
  color: #7c8881;
  display: flex;
  font-size: 11px;
  gap: 7px;
}

.result-kicker i {
  background: #66a97a;
  border-radius: 50%;
  display: block;
  height: 6px;
  width: 6px;
}

.result-title h1 {
  font-size: 38px;
  line-height: 1;
  margin: 8px 0 0;
}

.view-actions {
  display: flex;
  gap: 8px;
}

.map-button,
.icon-button {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  font-size: 11px;
  gap: 7px;
  height: 36px;
  justify-content: center;
}

.map-button {
  padding: 0 12px;
}

.icon-button {
  width: 36px;
}

.map-button svg,
.icon-button svg {
  height: 15px;
  width: 15px;
}

.filter-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 7px;
  margin-top: 25px;
  overflow-x: auto;
  padding-bottom: 18px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.mobile-listing-search {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  display: grid;
  flex: 1 1 270px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  max-width: 340px;
  min-height: 36px;
  min-width: 220px;
  padding: 0 8px 0 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.mobile-listing-search:focus-within {
  border-color: #789085;
  box-shadow: 0 0 0 3px rgba(24, 48, 39, .08);
}

.mobile-listing-search > svg {
  color: #607168;
  height: 15px;
  width: 15px;
}

.mobile-listing-search input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  height: 34px;
  min-width: 0;
  outline: 0;
  padding: 0 8px;
  width: 100%;
}

.mobile-listing-search input::placeholder {
  color: #8a9690;
  opacity: 1;
}

.mobile-listing-search input::-webkit-search-cancel-button {
  display: none;
}

.mobile-search-clear {
  align-items: center;
  background: #eef1ed;
  border: 0;
  border-radius: 50%;
  color: #53645b;
  cursor: pointer;
  display: flex;
  height: 22px;
  justify-content: center;
  padding: 0;
  width: 22px;
}

.mobile-search-clear[hidden] {
  display: none;
}

.mobile-search-clear svg {
  height: 11px;
  width: 11px;
}

.filter-chip {
  background: var(--white);
  border-color: var(--line);
  flex: 0 0 auto;
}

.filter-chip > svg,
.sort-button > svg {
  height: 11px;
  width: 11px;
}

.filter-chip.active {
  background: var(--forest-soft);
  border-color: #cbd6cf;
  color: var(--forest);
}

.filter-all {
  background: var(--forest);
  color: var(--white);
  flex: 0 0 auto;
}

.filter-all .filter-count {
  align-items: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--forest);
  display: inline-flex;
  font-size: 8px;
  height: 17px;
  justify-content: center;
  width: 17px;
}

.filter-all .filter-count[hidden] {
  display: none;
}

.sort-button {
  background: transparent;
  flex: 0 0 auto;
  margin-left: auto;
}

body.filter-sheet-open {
  overflow: hidden;
}

.listing-filter-sheet {
  inset: 0;
  pointer-events: none;
  position: fixed;
  visibility: hidden;
  z-index: 260;
}

.listing-filter-sheet.is-open {
  pointer-events: auto;
  visibility: visible;
}

.filter-sheet-backdrop {
  background: rgba(13, 28, 22, .42);
  border: 0;
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 200ms ease;
  width: 100%;
}

.listing-filter-sheet.is-open .filter-sheet-backdrop {
  opacity: 1;
}

.filter-sheet-panel {
  background: var(--paper);
  bottom: 0;
  box-shadow: -22px 0 60px rgba(14, 31, 24, .18);
  height: 100%;
  max-width: 520px;
  position: absolute;
  right: 0;
  transform: translateX(100%);
  transition: transform 240ms cubic-bezier(.22, .8, .25, 1);
  width: 100%;
}

.listing-filter-sheet.is-open .filter-sheet-panel {
  transform: translateX(0);
}

.listing-filter-sheet.is-desktop-popover .filter-sheet-backdrop {
  background: transparent;
}

.listing-filter-sheet.is-desktop-popover .filter-sheet-panel {
  border: 1px solid #d8dcd7;
  border-radius: 14px;
  bottom: auto;
  box-shadow: 0 18px 48px rgba(14, 31, 24, .16);
  height: auto;
  left: var(--filter-popover-left);
  max-height: calc(100dvh - 24px);
  max-width: none;
  opacity: 0;
  overflow: hidden;
  right: auto;
  top: var(--filter-popover-top);
  transform: none;
  transform-origin: top center;
  transition: none;
  will-change: opacity, transform;
  width: var(--filter-popover-width);
}

.listing-filter-sheet.is-open.is-desktop-popover .filter-sheet-panel {
  animation: filter-popover-vertical-in 180ms cubic-bezier(.22, .8, .25, 1);
  opacity: 1;
  transform: none;
}

.listing-filter-sheet.is-desktop-popover .filter-sheet-panel:focus {
  outline: none;
}

.listing-filter-sheet.is-desktop-popover .filter-sheet-panel form {
  height: auto;
  max-height: calc(100dvh - 24px);
}

.listing-filter-sheet.is-desktop-popover .filter-sheet-header {
  display: none;
}

.listing-filter-sheet.is-desktop-popover .filter-sheet-scroll {
  flex: 0 1 auto;
  max-height: min(590px, calc(100dvh - 105px));
  padding: 0 20px;
}

.listing-filter-sheet.is-desktop-popover .filter-section {
  border-bottom: 0;
  display: none;
  padding: 20px 0 21px;
}

.listing-filter-sheet.is-desktop-popover[data-active-section="location"] [data-filter-section="location"],
.listing-filter-sheet.is-desktop-popover[data-active-section="dates"] [data-filter-section="dates"],
.listing-filter-sheet.is-desktop-popover[data-active-section="guests"] [data-filter-section="guests"],
.listing-filter-sheet.is-desktop-popover[data-active-section="price"] [data-filter-section="price"],
.listing-filter-sheet.is-desktop-popover[data-active-section="all"] [data-filter-section="all"],
.listing-filter-sheet.is-desktop-popover[data-active-section="sort"] [data-filter-section="sort"] {
  display: block;
}

.listing-filter-sheet.is-desktop-popover .filter-section-title {
  grid-template-columns: 30px 1fr;
}

.listing-filter-sheet.is-desktop-popover .filter-section-title > span {
  height: 30px;
  width: 30px;
}

.listing-filter-sheet.is-desktop-popover .filter-choice-grid,
.listing-filter-sheet.is-desktop-popover .filter-date-grid,
.listing-filter-sheet.is-desktop-popover .filter-stepper,
.listing-filter-sheet.is-desktop-popover .filter-sort-list {
  margin-top: 15px;
}

.listing-filter-sheet.is-desktop-popover .filter-sheet-footer {
  padding: 10px 20px 12px;
}

.listing-filter-sheet.is-desktop-popover .filter-apply {
  min-height: 40px;
}

.filter-sheet-panel form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.filter-sheet-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
  padding: 23px 25px 19px;
}

.filter-sheet-header span {
  color: #718078;
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.filter-sheet-header h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  margin: 6px 0 0;
}

.filter-sheet-close {
  align-items: center;
  background: transparent;
  border: 1px solid #aeb8b1;
  border-radius: 50%;
  color: #34483e;
  display: flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.filter-sheet-close svg {
  height: 17px;
  stroke-width: 2;
  width: 17px;
}

.filter-sheet-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 25px 26px;
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}

.filter-section {
  border-bottom: 1px solid var(--line);
  padding: 25px 0 27px;
  scroll-margin-top: 12px;
}

.filter-section-title {
  align-items: flex-start;
  display: grid;
  gap: 11px;
  grid-template-columns: 34px 1fr;
}

.filter-section-title > span {
  align-items: center;
  background: #edf1ec;
  border-radius: 50%;
  color: #50665b;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.filter-section-title svg {
  height: 16px;
  width: 16px;
}

.filter-section-title h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.filter-section-title p {
  color: #7c8881;
  font-size: 10px;
  line-height: 1.5;
  margin: 4px 0 0;
}

.filter-choice-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.filter-choice-grid label,
.filter-amenity-grid label {
  cursor: pointer;
  min-width: 0;
}

.filter-choice-grid input,
.filter-amenity-grid input,
.filter-sort-list input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.filter-choice-grid label > span,
.filter-amenity-grid label > span {
  align-items: center;
  background: white;
  border: 1px solid #d6dad5;
  display: flex;
  font-size: 11px;
  justify-content: center;
  min-height: 43px;
  padding: 9px 11px;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.filter-choice-grid input:checked + span,
.filter-amenity-grid input:checked + span {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}

.filter-date-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.filter-date-grid label {
  color: #78847e;
  display: grid;
  font-size: 9px;
  font-weight: 600;
  gap: 7px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.filter-date-grid input {
  background: white;
  border: 1px solid #d5d9d4;
  color: var(--ink);
  font-size: 11px;
  min-height: 46px;
  padding: 10px;
  width: 100%;
}

.filter-stepper {
  align-items: center;
  border: 1px solid #d5d9d4;
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding: 13px 14px;
}

.filter-stepper > div:first-child strong,
.filter-stepper > div:first-child small {
  display: block;
}

.filter-stepper > div:first-child strong {
  font-size: 11px;
}

.filter-stepper > div:first-child small {
  color: #839088;
  font-size: 9px;
  margin-top: 3px;
}

.filter-stepper > div:last-child {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 34px 28px 34px;
}

.filter-stepper button {
  align-items: center;
  background: white;
  border: 1px solid #bfc7c1;
  border-radius: 50%;
  display: flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.filter-stepper button svg {
  height: 14px;
  width: 14px;
}

.filter-stepper output {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.filter-subheading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.filter-subheading strong {
  font-size: 11px;
}

.filter-subheading small {
  color: #859089;
  font-size: 9px;
}

.filter-amenity-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.filter-amenity-grid label > span {
  gap: 7px;
  justify-content: flex-start;
}

.filter-amenity-grid svg {
  height: 15px;
  width: 15px;
}

.filter-sort-list {
  border: 1px solid #d7dad5;
  margin-top: 18px;
}

.filter-sort-list label {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 11px;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 13px;
  position: relative;
}

.filter-sort-list label + label {
  border-top: 1px solid var(--line);
}

.filter-sort-list label > i {
  border: 1px solid #abb5ae;
  border-radius: 50%;
  height: 17px;
  padding: 3px;
  width: 17px;
}

.filter-sort-list input:checked + i {
  background: var(--forest);
  background-clip: content-box;
  border-color: var(--forest);
}

.filter-sheet-footer {
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: grid;
  flex: 0 0 auto;
  gap: 10px;
  grid-template-columns: auto 1fr;
  padding: 14px 25px 18px;
}

.filter-reset {
  background: transparent;
  border: 0;
  font-size: 11px;
  padding: 12px 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.filter-apply {
  align-items: center;
  background: var(--forest);
  border: 0;
  color: white;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  justify-content: center;
  min-height: 46px;
  padding: 0 15px;
}

.filter-apply b {
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border-radius: 20px;
  display: inline-flex;
  font-size: 9px;
  height: 22px;
  justify-content: center;
  margin-left: 9px;
  min-width: 22px;
  padding: 0 6px;
}

.listing-empty-grid {
  display: block;
}

.listing-empty-state {
  align-items: center;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 70px 20px;
  text-align: center;
}

.listing-empty-state > span {
  align-items: center;
  background: #edf1ec;
  border-radius: 50%;
  color: #53685d;
  display: flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.listing-empty-state > span svg {
  height: 23px;
  width: 23px;
}

.listing-empty-state h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  margin: 17px 0 7px;
}

.listing-empty-state p {
  color: #748179;
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  max-width: 330px;
}

.listing-empty-state button {
  background: var(--forest);
  border: 0;
  color: white;
  font-size: 11px;
  margin-top: 20px;
  padding: 12px 17px;
}

.listing-filter-enter {
  animation: listing-filter-enter 240ms ease-out both;
}

@keyframes listing-filter-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes filter-popover-vertical-in {
  from { opacity: 0; transform: translate3d(0, -8px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.result-context {
  align-items: center;
  color: #849089;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  padding: 17px 1px 14px;
}

.result-context p {
  margin: 0;
}

.result-context strong {
  color: #46544d;
  font-weight: 600;
}

.villa-grid {
  display: grid;
  gap: 28px 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.villa-card {
  min-width: 0;
}

.villa-photo {
  background-color: #748279;
  background-position: center;
  background-size: cover;
  display: block;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.villa-photo::after {
  background: linear-gradient(180deg, rgba(12,25,20,.13), transparent 48%, rgba(12,25,20,.3));
  content: "";
  inset: 0;
  position: absolute;
}

.photo-awana {
  background-image: url("assets/hero-villa.png");
  background-position: 66% center;
}

.photo-kalyana {
  background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1000&q=84");
}

.photo-sora {
  background-image: url("https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?auto=format&fit=crop&w=1000&q=84");
}

.photo-tana {
  background-image: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1000&q=84");
}

.photo-luma {
  background-image: url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1000&q=84");
}

.photo-kano {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1000&q=84");
}

.match-badge,
.heart-button,
.photo-count {
  position: absolute;
  z-index: 2;
}

.match-badge {
  align-items: center;
  backdrop-filter: blur(7px);
  background: rgba(250,249,245,.9);
  color: #314139;
  display: flex;
  font-size: 10px;
  gap: 4px;
  left: 10px;
  padding: 6px 8px;
  top: 10px;
}

.match-badge svg {
  color: #ae8d64;
  height: 11px;
  width: 11px;
}

.heart-button {
  align-items: center;
  backdrop-filter: blur(5px);
  background: rgba(14,29,24,.22);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  height: 30px;
  justify-content: center;
  right: 10px;
  top: 10px;
  width: 30px;
}

.heart-button.saved {
  background: rgba(255,255,255,.9);
  color: #936a5c;
}

.heart-button svg {
  height: 16px;
  width: 16px;
}

.heart-button.saved svg {
  fill: currentColor;
}

.photo-count {
  bottom: 9px;
  color: white;
  font-size: 9px;
  right: 10px;
}

.villa-details {
  padding-top: 12px;
}

.villa-title-row,
.villa-bottom,
.pick-copy > div {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.villa-details h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 4px;
}

.villa-details p {
  color: #839088;
  font-size: 10px;
  margin: 0;
}

.rating {
  align-items: center;
  color: #3e4b45;
  display: flex;
  font-size: 10px;
  gap: 3px;
  padding-top: 4px;
}

.rating svg {
  fill: currentColor;
  height: 10px;
  width: 10px;
}

.reason {
  align-items: flex-start;
  background: #f0f2ed;
  color: #59665f;
  display: flex;
  font-size: 10px;
  gap: 5px;
  line-height: 1.45;
  margin-top: 10px;
  min-height: 43px;
  padding: 8px 9px;
}

.reason svg {
  color: #a3845d;
  flex: 0 0 auto;
  height: 11px;
  margin-top: 1px;
  width: 11px;
}

.villa-bottom {
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
}

.villa-bottom > span {
  color: #87928c;
  font-size: 9px;
}

.villa-bottom p strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.chat-panel {
  background: var(--cream);
  border-left: 1px solid #dcded8;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.chat-toggle {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.chat-header {
  align-items: center;
  background: rgba(246, 244, 238, .95);
  border-bottom: 1px solid #dcddd7;
  display: flex;
  flex: 0 0 auto;
  height: 72px;
  justify-content: space-between;
  padding: 0 18px;
}

.chat-header .ai-status small {
  align-items: center;
  display: flex;
  gap: 5px;
}

.chat-header .ai-status small i {
  background: #65a979;
  border-radius: 50%;
  display: inline-block;
  height: 5px;
  width: 5px;
}

.chat-actions {
  display: flex;
  gap: 5px;
}

.chat-actions button,
.minimize-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #738078;
  cursor: pointer;
  display: flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.chat-actions svg,
.minimize-button svg {
  height: 15px;
  width: 15px;
}

.minimize-button,
.expand-button {
  display: none;
}

.desktop-chat-launcher {
  align-items: center;
  background: var(--forest);
  border: 0;
  border-radius: 999px;
  bottom: 24px;
  box-shadow: 0 12px 32px rgba(18, 48, 38, .22);
  color: #fff;
  cursor: pointer;
  display: none;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  gap: 8px;
  padding: 12px 17px;
  position: fixed;
  right: 24px;
  z-index: 18;
}

.desktop-chat-launcher svg {
  height: 17px;
  width: 17px;
}

@media (min-width: 901px) {
  .results-workspace.chat-panel-hidden .desktop-chat-launcher {
    display: flex;
  }

  .results-workspace.chat-panel-closing .chat-panel {
    animation: chat-panel-out 180ms cubic-bezier(.4, 0, 1, 1) both;
  }

  .results-workspace.chat-panel-opening .chat-panel {
    animation: chat-panel-in 220ms cubic-bezier(.22, .8, .25, 1) both;
  }
}

.chat-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 19px 18px 26px;
  scrollbar-color: #c5cac5 transparent;
  scrollbar-width: thin;
}

.chat-date {
  color: #98a09c;
  font-size: 9px;
  margin-bottom: 18px;
  text-align: center;
}

.chat-empty-state {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  min-height: 100%;
  padding: 22px 8px 28px;
  text-align: center;
}

.chat-empty-orb {
  align-items: center;
  background: linear-gradient(140deg, #d9c8ad, #84968c);
  border-radius: 50%;
  color: white;
  display: flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 15px;
  width: 48px;
}

.chat-empty-orb svg {
  height: 18px;
  width: 18px;
}

.chat-empty-label {
  color: #849089;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.chat-empty-state h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
  margin: 9px 0 10px;
}

.chat-empty-state > p {
  color: #6f7c75;
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  max-width: 300px;
}

.chat-starter-prompts {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  max-width: 310px;
  width: 100%;
}

.chat-starter-prompts button {
  align-items: center;
  background: rgba(255,255,255,.7);
  border: 1px solid #d8dcd6;
  color: #34443c;
  display: flex;
  font-family: inherit;
  font-size: 10px;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 12px;
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
  width: 100%;
}

.chat-starter-prompts button:hover {
  background: white;
  border-color: #9eaca4;
  transform: translateY(-1px);
}

.chat-starter-prompts button svg {
  color: #7a8880;
  height: 13px;
  width: 13px;
}

.message {
  font-size: 12px;
  line-height: 1.55;
  max-width: 88%;
  padding: 12px 13px;
}

.message p {
  margin: 0;
}

.message-user {
  background: var(--forest);
  color: white;
  margin-left: auto;
  margin-top: 22px;
}

.chat-date + .message-user {
  margin-top: 0;
}

.message-row {
  align-items: flex-end;
  display: flex;
  gap: 7px;
  margin-top: 16px;
}

.mini-orb {
  font-size: 8px;
  height: 24px;
  width: 24px;
}

.mini-orb svg {
  height: 11px;
  width: 11px;
}

.message-ai {
  background: var(--white);
  border: 1px solid #e1e1dc;
}

.search-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 12px 0 2px 31px;
}

.search-summary span {
  background: #e4e9e4;
  border-radius: 30px;
  color: #637069;
  font-size: 9px;
  padding: 6px 8px;
}

.ai-pick {
  background: var(--white);
  border: 1px solid #dedfd9;
  display: grid;
  grid-template-columns: 94px 1fr;
  margin: 12px 0 0 31px;
  min-height: 105px;
}

.pick-photo {
  background-position: center;
  background-size: cover;
  min-height: 103px;
  position: relative;
}

.pick-photo span {
  background: rgba(255,255,255,.9);
  font-size: 8px;
  left: 6px;
  padding: 4px 5px;
  position: absolute;
  top: 6px;
}

.pick-copy {
  padding: 12px 11px;
}

.pick-copy strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.pick-copy > div > span {
  color: #718078;
  font-size: 8px;
}

.pick-copy p {
  color: #78847d;
  font-size: 9px;
  line-height: 1.45;
  margin: 7px 0 8px;
}

.pick-copy a {
  align-items: center;
  color: #34443c;
  display: inline-flex;
  font-size: 9px;
  gap: 4px;
  font-weight: 600;
}

.pick-copy a svg {
  height: 10px;
  width: 10px;
}

.ai-listing-cards {
  display: grid;
  gap: 7px;
  margin: 9px 0 0 31px;
}

.ai-listing-card {
  align-items: center;
  background: var(--white);
  border: 1px solid #dcded8;
  display: grid;
  gap: 10px;
  grid-template-columns: 76px minmax(0, 1fr) 20px;
  min-height: 70px;
  padding: 6px 8px 6px 6px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.ai-listing-card:hover {
  border-color: #8fa298;
  transform: translateY(-1px);
}

.ai-listing-card > img {
  height: 58px;
  object-fit: cover;
  width: 76px;
}

.ai-listing-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ai-listing-copy strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
}

.ai-listing-copy small {
  color: #7f8a84;
  font-size: 8px;
}

.ai-listing-copy b {
  color: var(--ink);
  font-size: 9px;
  font-weight: 600;
  margin-top: 3px;
}

.ai-listing-card > svg {
  color: #75827b;
  height: 13px;
  width: 13px;
}

.follow-up {
  margin: 19px 0 0 31px;
}

.follow-up p {
  color: #6f7c75;
  font-size: 10px;
  margin: 0 0 8px;
}

.follow-up a,
.follow-up button {
  background: transparent;
  border: 1px solid #cdd2cd;
  border-radius: 30px;
  color: #536159;
  cursor: pointer;
  display: inline-block;
  font-size: 9px;
  font-family: inherit;
  margin: 0 3px 5px 0;
  padding: 7px 9px;
}

.live-message p {
  white-space: pre-line;
}

.message-enter-user {
  animation: chat-user-enter 240ms cubic-bezier(.22, .75, .28, 1) both;
  transform-origin: right bottom;
}

.message-enter-ai {
  animation: chat-ai-enter 280ms cubic-bezier(.22, .75, .28, 1) both;
  transform-origin: left bottom;
}

.typing-enter {
  animation: chat-typing-enter 180ms ease-out both;
}

.listing-cards-enter .ai-listing-card {
  animation: chat-card-enter 280ms cubic-bezier(.22, .75, .28, 1) both;
}

.listing-cards-enter .ai-listing-card:nth-child(2) { animation-delay: 45ms; }
.listing-cards-enter .ai-listing-card:nth-child(3) { animation-delay: 90ms; }

.typing-message {
  align-items: center;
  display: flex;
  gap: 4px;
  min-height: 43px;
  width: 58px;
}

.typing-message i {
  animation: maya-typing 1.1s infinite ease-in-out;
  background: #718078;
  border-radius: 50%;
  height: 5px;
  opacity: .35;
  width: 5px;
}

.typing-message i:nth-child(2) { animation-delay: .15s; }
.typing-message i:nth-child(3) { animation-delay: .3s; }

.ai-is-thinking .chat-header .ai-status small i {
  animation: maya-status-pulse 1.1s infinite ease-out;
}

@keyframes maya-typing {
  0%, 60%, 100% { opacity: .28; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

@keyframes maya-status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(101, 169, 121, .55); }
  100% { box-shadow: 0 0 0 5px rgba(101, 169, 121, 0); }
}

@keyframes chat-user-enter {
  from { opacity: 0; transform: translate3d(8px, 7px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes chat-ai-enter {
  from { opacity: 0; transform: translate3d(-7px, 8px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes chat-typing-enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes chat-card-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-composer {
  background: var(--white);
  border: 1px solid #d7d9d3;
  box-shadow: 0 -12px 30px rgba(20,40,33,.05);
  flex: 0 0 auto;
  margin: 0 14px 14px;
  min-height: 101px;
  padding: 12px 11px 9px;
  position: relative;
  z-index: 5;
}

.chat-composer textarea {
  font-size: 12px;
  min-height: 43px;
}

.chat-composer-bottom {
  margin-top: 5px;
}

.attach-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #79857e;
  cursor: pointer;
  display: flex;
  height: 27px;
  justify-content: center;
  width: 27px;
}

.attach-button svg {
  height: 14px;
  width: 14px;
}

.chat-composer-bottom > span {
  color: #a1a7a3;
  font-size: 8px;
  margin-left: auto;
  margin-right: 8px;
}

.expand-button {
  align-items: center;
  border: 1px solid #d9ddd8;
  border-radius: 50%;
  color: #68766f;
  cursor: pointer;
  flex: 0 0 auto;
  height: 30px;
  justify-content: center;
  margin-right: 7px;
  width: 30px;
}

.expand-button svg {
  height: 13px;
  width: 13px;
}

.chat-composer .send-button {
  height: 30px;
  width: 30px;
}

.chat-composer .send-button svg {
  height: 14px;
  width: 14px;
}

@media (max-width: 1180px) {
  .results-workspace {
    grid-template-columns: minmax(0, 1fr) 350px;
  }

  .villa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .inspiration-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inspiration-card {
    height: 155px;
  }

  .results-workspace {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .listing-panel {
    overflow: visible;
    padding-bottom: 120px;
  }

  .chat-panel {
    background: transparent;
    border: 0;
    bottom: 12px;
    box-shadow: none;
    height: auto;
    left: 12px;
    position: fixed;
    right: 12px;
    transition: inset 220ms ease, background 220ms ease;
    z-index: 20;
  }

  .chat-header {
    display: none;
  }

  .chat-scroll {
    display: none;
  }

  .chat-composer {
    border: 1px solid #d5d9d4;
    border-radius: 17px;
    box-shadow: 0 12px 38px rgba(18,38,31,.18);
    margin: 0;
    min-height: 86px;
    padding: 12px 13px 9px;
  }

  .chat-composer textarea {
    min-height: 32px;
  }

  .chat-composer-bottom > span {
    display: none;
  }

  .expand-button {
    display: flex;
    margin-left: auto;
  }

  .chat-toggle:checked ~ .chat-header {
    display: flex;
  }

  .chat-toggle:checked ~ .chat-scroll {
    display: block;
  }

  .chat-toggle:checked ~ .chat-composer .expand-button {
    display: none;
  }

  .chat-panel:has(.chat-toggle:checked) {
    background: var(--cream);
    border-radius: 0;
    bottom: 0;
    height: calc(100dvh - 44px);
    left: 0;
    right: 0;
    top: 44px;
  }

  .chat-toggle:checked ~ .chat-header {
    background: var(--cream);
    height: 68px;
  }

  .chat-toggle:checked ~ .chat-header .desktop-chat-close {
    display: none;
  }

  .chat-toggle:checked ~ .chat-header .minimize-button {
    border: 1px solid #9ca9a1;
    border-radius: 50%;
    color: #30453b;
    display: flex;
    height: 36px;
    margin-left: 3px;
    transition: background-color 150ms ease, border-color 150ms ease;
    width: 36px;
  }

  .chat-toggle:checked ~ .chat-header .minimize-button:hover {
    background: #e8ece7;
    border-color: #62756b;
  }

  .chat-toggle:checked ~ .chat-header .minimize-button svg {
    height: 17px;
    stroke-width: 2;
    width: 17px;
  }

  .chat-toggle:checked ~ .chat-scroll {
    flex: 1 1 auto;
    min-height: 0;
    padding: 20px 18px;
  }

  .chat-toggle:checked ~ .chat-composer {
    border-radius: 15px;
    box-shadow: 0 -8px 28px rgba(19,36,30,.08);
    margin: 10px 12px 12px;
  }
}

@media (max-width: 640px) {
  .app-header {
    grid-template-columns: 1fr auto;
    height: 39px;
    padding: 0 12px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    height: 22px;
    width: 22px;
  }

  .new-search,
  .saved-link span,
  .saved-link i {
    display: none;
  }

  .header-actions {
    gap: 13px;
  }

  .app-start {
    height: calc(100dvh - 39px);
    min-height: 0;
    padding: clamp(18px, 3.5vh, 30px) 16px;
  }

  .start-content h1 {
    font-size: clamp(40px, 12.5vw, 49px);
    margin-top: clamp(16px, 2.5vh, 22px);
  }

  .start-intro {
    font-size: 11px;
    max-width: 350px;
  }

  .inspiration-grid {
    display: flex;
    margin: clamp(20px, 3.5vh, 30px) -16px clamp(16px, 2.5vh, 22px);
    overflow-x: auto;
    padding: 0 16px 5px;
    scrollbar-width: none;
  }

  .inspiration-grid::-webkit-scrollbar {
    display: none;
  }

  .inspiration-card {
    flex: 0 0 190px;
    height: clamp(112px, 17vh, 138px);
  }

  .main-composer {
    padding: 12px 14px 9px;
  }

  .main-composer textarea {
    font-size: 15px;
  }

  .results-workspace {
    min-height: calc(100vh - 39px);
    scroll-margin-top: 39px;
  }

  .chat-panel:has(.chat-toggle:checked) {
    height: calc(100dvh - 39px);
    top: 39px;
  }

  .listing-panel {
    padding: 22px 14px 120px;
  }

  .mobile-back {
    align-items: center;
    display: flex;
    height: 34px;
    justify-content: center;
    margin-right: 8px;
    width: 24px;
  }

  .mobile-back svg {
    height: 18px;
    width: 18px;
  }

  .result-title h1 {
    font-size: 31px;
  }

  .result-kicker {
    font-size: 8px;
  }

  .map-button {
    font-size: 0;
    padding: 0;
    width: 36px;
  }

  .filter-row {
    margin-top: 20px;
  }

  .result-context {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

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

  .villa-photo {
    height: 310px;
  }

  .reason {
    min-height: auto;
  }
}

@media (max-width: 390px) {
  .start-content h1 {
    font-size: 44px;
  }

  .composer-tools button {
    font-size: 0;
    padding: 0;
    width: 31px;
  }
}

@media (max-height: 720px) {
  .start-content > .ai-status {
    display: none;
  }

  .start-content h1 {
    font-size: clamp(40px, 4.3vw, 58px);
    margin-top: 0;
  }

  .start-intro {
    line-height: 1.5;
  }

  .inspiration-grid {
    margin-bottom: 13px;
    margin-top: 17px;
  }

  .inspiration-card {
    height: 110px;
  }

  .privacy-note {
    margin-top: 7px;
  }
}

/* Refined micro-interactions */
.brand-mark,
.new-search,
.new-search svg,
.saved-link,
.saved-link > svg,
.profile-button,
.map-button,
.icon-button,
.filter-chip,
.filter-all,
.filter-chip > svg:last-child,
.chat-actions button,
.desktop-chat-launcher {
  transition-duration: 170ms;
  transition-property: background-color, border-color, box-shadow, color, opacity, transform;
  transition-timing-function: cubic-bezier(.22, .8, .25, 1);
}

.filter-chip[aria-expanded="true"] > svg:last-child {
  transform: rotate(180deg);
}

.filter-choice-grid label > span,
.filter-amenity-grid label > span,
.filter-stepper button,
.filter-apply,
.filter-reset {
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 150ms ease;
}

.filter-choice-grid input:checked + span,
.filter-amenity-grid input:checked + span {
  animation: filter-choice-select 180ms cubic-bezier(.22, .8, .25, 1);
}

.villa-photo {
  transition: box-shadow 220ms ease, filter 220ms ease, transform 220ms cubic-bezier(.22, .8, .25, 1);
}

.villa-details h2,
.reason {
  transition: background-color 180ms ease, color 180ms ease;
}

.heart-button {
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms cubic-bezier(.22, .8, .25, 1);
}

.heart-button.is-popping {
  animation: favorite-pop 340ms cubic-bezier(.2, .9, .25, 1.2) both;
}

.result-kicker i,
.chat-header .ai-status small i {
  animation: presence-pulse 2.4s ease-in-out infinite;
}

.results-workspace.chat-panel-hidden .desktop-chat-launcher {
  animation: desktop-launcher-in 260ms cubic-bezier(.22, .8, .25, 1);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
label[tabindex]:focus-visible {
  outline: 2px solid rgba(24, 48, 39, .7);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-mark {
    box-shadow: 0 5px 14px rgba(24, 48, 39, .2);
    transform: translateY(-1px) rotate(-3deg);
  }

  .new-search:hover,
  .saved-link:hover {
    color: var(--forest);
    transform: translateY(-1px);
  }

  .new-search:hover svg {
    transform: rotate(90deg);
  }

  .saved-link:hover > svg {
    transform: scale(1.12);
  }

  .profile-button:hover {
    box-shadow: 0 5px 14px rgba(59, 43, 27, .14);
    transform: translateY(-1px) scale(1.04);
  }

  .map-button:hover,
  .icon-button:hover,
  .filter-chip:hover {
    background: #f5f7f4;
    border-color: #bdc8c1;
    color: var(--forest);
    transform: translateY(-1px);
  }

  .filter-all:hover {
    background: #29473c;
    box-shadow: 0 6px 15px rgba(24, 48, 39, .14);
    transform: translateY(-1px);
  }

  .filter-choice-grid label:hover > span,
  .filter-amenity-grid label:hover > span {
    border-color: #9eaca4;
    transform: translateY(-1px);
  }

  .filter-stepper button:hover {
    background: var(--forest-soft);
    border-color: #84968c;
    transform: scale(1.06);
  }

  .villa-card:hover .villa-photo {
    box-shadow: 0 13px 28px rgba(18, 39, 31, .14);
    filter: saturate(1.04) contrast(1.015);
    transform: translateY(-2px);
  }

  .villa-card:hover .villa-details h2 {
    color: #28503f;
  }

  .villa-card:hover .reason {
    background: #e9eee9;
  }

  .heart-button:hover {
    background: rgba(255,255,255,.94);
    border-color: white;
    color: #875f54;
    transform: scale(1.08);
  }

  .chat-actions button:hover {
    background: #e8ece7;
    color: var(--forest);
    transform: translateY(-1px);
  }

  .desktop-chat-launcher:hover {
    background: #29473c;
    box-shadow: 0 15px 36px rgba(18, 48, 38, .28);
    transform: translateY(-2px);
  }
}

.map-button:active,
.icon-button:active,
.filter-chip:active,
.filter-all:active,
.heart-button:active,
.chat-actions button:active,
.desktop-chat-launcher:active,
.filter-stepper button:active,
.filter-apply:active {
  transform: scale(.96);
}

@keyframes filter-choice-select {
  0% { transform: scale(.97); }
  65% { transform: scale(1.015); }
  100% { transform: scale(1); }
}

@keyframes favorite-pop {
  0% { transform: scale(1); }
  42% { transform: scale(.82); }
  72% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes presence-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(101, 169, 121, 0); transform: scale(1); }
  45% { box-shadow: 0 0 0 4px rgba(101, 169, 121, .12); transform: scale(1.08); }
}

@keyframes desktop-launcher-in {
  from { opacity: 0; transform: translateY(10px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chat-panel-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes chat-panel-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(18px); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
  display: flex;
  gap: 4px;
  display: flex;
  gap: 5px;
