/* Nestly — stay marketplace demo
   Palette from Ryan's attachment. No Airbnb coral/branding. */

:root {
  --red: #C01717;
  --red-deep: #9A1212;
  --blue-md: #005C9C;
  --green: #7ECC7A;
  --blue: #006EBA;
  --navy: #00375E;
  --purple: #2702AE;
  --off: #FDFFFD;
  --ink: #0E1F2C;
  --muted: #5A6B78;
  --line: rgba(0, 55, 94, 0.12);
  --line-strong: rgba(0, 55, 94, 0.22);
  --card: #ffffff;
  --shadow: 0 12px 36px rgba(0, 55, 94, 0.12);
  --shadow-lg: 0 24px 60px rgba(0, 55, 94, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "DM Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--off);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  color: var(--navy);
}
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--red);
  color: #fff;
  padding: 0.55rem 1rem;
  z-index: 200;
  border-radius: 8px;
}
.skip:focus { top: 1rem; }




/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(253,255,253,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
  flex-shrink: 0;
}
.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  background: var(--red);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  display: inline-block;
}
.brand span { color: var(--blue); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-top: -0.15rem; font-family: var(--font); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}
.nav-desktop a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  transition: background 0.15s var(--ease);
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  background: rgba(0, 110, 186, 0.1);
  color: var(--blue);
}
.nav-desktop .nav-cta {
  background: var(--red);
  color: #fff !important;
  margin-left: 0.35rem;
}
.nav-desktop .nav-cta:hover { background: var(--red-deep); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.75rem 1.25rem 1.1rem;
  background: var(--off);
}
.nav-mobile.open { display: flex; flex-direction: column; gap: 0.25rem; }
.nav-mobile a {
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-weight: 500;
  color: var(--navy);
}
.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] { background: rgba(0,110,186,0.1); }
.nav-mobile .nav-cta {
  background: var(--red);
  color: #fff;
  text-align: center;
  margin-top: 0.35rem;
}

@media (max-width: 820px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ——— Layout ——— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1.1rem;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; font-size: 1.55rem; }
.muted { color: var(--muted); }
.tiny { font-size: 0.82rem; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.12s var(--ease), background 0.15s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); box-shadow: 0 8px 20px rgba(192,23,23,0.28); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: #002845; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--navy);
}
.btn-ghost:hover { background: rgba(0,110,186,0.08); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

/* ——— Search bar ——— */
.search-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-md) 48%, var(--purple) 100%);
  color: #fff;
  padding: 2.75rem 1.5rem 2.4rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.search-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(126,204,122,0.25), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(0,110,186,0.35), transparent 45%);
  pointer-events: none;
}
.search-hero > * { position: relative; z-index: 1; }
.search-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 18ch;
  margin-bottom: 0.5rem;
}
.search-hero .lede {
  color: rgba(253,255,253,0.88);
  max-width: 36rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.search-panel {
  background: var(--off);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr auto;
  gap: 0;
  box-shadow: var(--shadow);
  align-items: stretch;
}
.search-field {
  padding: 0.55rem 1rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.search-field:last-of-type { border-right: none; }
.search-field label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.search-field input,
.search-field select {
  border: none;
  background: transparent;
  outline: none;
  color: var(--ink);
  width: 100%;
  padding: 0;
  min-width: 0;
}
.search-panel .btn {
  align-self: center;
  margin-right: 0.2rem;
  padding: 0.85rem 1.4rem;
}

@media (max-width: 900px) {
  .search-panel {
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
    gap: 0.35rem;
    padding: 0.75rem;
  }
  .search-field {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }
  .search-panel .btn {
    grid-column: 1 / -1;
    margin: 0.25rem 0 0;
    width: 100%;
  }
}

/* ——— Category chips ——— */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.5rem 0 0.25rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.chip .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}
.chip[data-cat="Beach"] .dot { background: var(--blue); }
.chip[data-cat="Cabins"] .dot { background: var(--purple); }
.chip[data-cat="City"] .dot { background: var(--blue-md); }
.chip[data-cat="Unique"] .dot { background: var(--red); }

/* ——— Listing cards ——— */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0,55,94,0.05);
  transition: transform 0.18s var(--ease), box-shadow 0.18s;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--navy);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 0.95rem 1rem 1.1rem; }
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: start;
  margin-bottom: 0.25rem;
}
.card-loc {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-md);
}
.card-rating {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.card-rating::before {
  content: "★ ";
  color: var(--red);
}
.card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-weight: 650;
  letter-spacing: -0.01em;
}
.card-meta { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.55rem; }
.card-price {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}
.card-price span { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.heart {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: none;
  background: rgba(253,255,253,0.96);
  color: #6B7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  line-height: 0;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.12s ease, color 0.12s ease, background 0.12s ease;
}
.heart:hover { transform: scale(1.06); color: var(--red); }
.heart.active { color: var(--red); }
.heart:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.heart svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  flex-shrink: 0;
  /* optical center — heart glyphs sit slightly high in the box */
  transform: translateY(0.5px);
}
.badge-avail {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  background: var(--green);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  z-index: 2;
}

/* ——— Search layout ——— */
.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 1100px) {
  .search-layout { grid-template-columns: 240px 1fr; }
  .map-panel { grid-column: 1 / -1; order: 3; min-height: 240px; }
}
@media (max-width: 720px) {
  .search-layout { grid-template-columns: 1fr; }
}

.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  position: sticky;
  top: calc(var(--header-h) + 2.75rem);
  max-height: calc(100dvh - var(--header-h) - 3.75rem);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}
.filters h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.filter-group { margin-bottom: 1.25rem; }
.filter-group h3 {
  font-family: var(--font);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.filter-group label.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0;
  font-size: 0.92rem;
  cursor: pointer;
}
.filter-group input[type="checkbox"] {
  accent-color: var(--red);
  width: 1rem;
  height: 1rem;
}
.range-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
  margin-top: 0.35rem;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}
.bed-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.bed-pill {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}
.bed-pill.active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

.results-col .results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.results-bar h1 { font-size: 1.35rem; margin: 0; }

.page-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  margin: 0 0 1.75rem;
}
.page-intro h1 {
  margin: 0;
  line-height: 1.15;
}


.map-panel {
  background: linear-gradient(160deg, var(--navy), var(--blue-md) 60%, #004a7a);
  border-radius: var(--radius);
  min-height: 420px;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  color: #fff;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-panel h2 { color: #fff; font-size: 1.05rem; }
.map-pins {
  position: relative;
  height: 340px;
  margin-top: 0.75rem;
}
.map-pin {
  position: absolute;
  background: var(--off);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s;
}
.map-pin:hover, .map-pin.active {
  background: var(--red);
  color: #fff;
  transform: scale(1.08);
  z-index: 2;
}
.map-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(253,255,253,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253,255,253,0.4) 1px, transparent 1px);
  background-size: 40px 40px;
  border-radius: 12px;
}

/* ——— Listing detail ——— */
.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .listing-layout { grid-template-columns: 1fr; }
  .booking-card {
    position: static !important;
    top: auto;
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
  }
}
@media (max-width: 560px) {
  .book-fields { grid-template-columns: 1fr; }
  .gallery { min-height: 240px; grid-template-columns: 1fr; grid-template-rows: 200px 90px 90px; }
  .gallery .main { grid-row: auto; min-height: 200px; }
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.55rem;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  margin-bottom: 1.5rem;
}
.gallery .main {
  grid-row: 1 / 3;
  position: relative;
  background: var(--navy);
  cursor: pointer;
}
.gallery .main img,
.gallery .side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery .side {
  position: relative;
  background: var(--blue-md);
  cursor: pointer;
  overflow: hidden;
}
.gallery-controls {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0 1.5rem;
}
.amenity-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.75rem;
}
.amenity-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.92rem;
}
.amenity-list li .amenity-icon {
  flex-shrink: 0;
  color: var(--navy);
  opacity: 0.85;
}

.host-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 1.25rem 0;
}
.host-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.superhost {
  display: inline-block;
  background: rgba(126,204,122,0.25);
  color: #1a5c2a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.35rem;
}

.booking-card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.booking-card .price-line {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.booking-card .price-line span { font-size: 0.95rem; font-weight: 400; color: var(--muted); }
.book-fields {
  display: grid;
  /* Stack in the sticky sidebar — native date inputs overflow a 340px 2-col grid */
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  min-width: 0;
  width: 100%;
}
.book-fields .full { grid-column: 1 / -1; }
.book-fields .field {
  min-width: 0;
  max-width: 100%;
}
.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.field input, .field select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--off);
  outline: none;
}
.field input[type="date"] {
  /* Chrome date controls have a large intrinsic min-width */
  min-width: 0;
  max-width: 100%;
}
.field input:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,110,186,0.15);
}
.breakdown {
  margin: 1rem 0;
  font-size: 0.92rem;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  color: var(--muted);
}
.breakdown-row.total {
  border-top: 1px solid var(--line);
  margin-top: 0.45rem;
  padding-top: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

/* ——— Modal ——— */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 55, 94, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--off);
  border-radius: 20px;
  padding: 1.75rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.modal .check {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.confirm-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(0,110,186,0.1);
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-block;
  margin: 0.75rem 0 1.25rem;
}

/* ——— Trips / Wishlists ——— */
.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty-state h2 { margin-bottom: 0.5rem; }
.trip-card {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  align-items: center;
}
.trip-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.trip-body { padding: 0.85rem 0; }
.trip-meta { font-size: 0.88rem; color: var(--muted); }
.trip-code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 600;
}
.trip-status {
  padding: 0 1.25rem;
  text-align: center;
}
.status-pill {
  display: inline-block;
  background: rgba(126,204,122,0.3);
  color: #1a5c2a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .trip-card { grid-template-columns: 1fr; }
  .trip-card img { height: 160px; }
  .trip-body, .trip-status { padding: 0.85rem 1rem; text-align: left; }
}

/* ——— Host page ——— */
.host-hero {
  background: linear-gradient(120deg, var(--purple), var(--navy) 55%, var(--blue-md));
  color: #fff;
  border-radius: 24px;
  padding: 2.75rem 1.75rem;
  margin-bottom: 2rem;
}
.host-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); max-width: 16ch; }
.host-hero p { color: rgba(253,255,253,0.9); max-width: 34rem; }
.host-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 36rem;
  box-shadow: var(--shadow);
}
.host-form .field { margin-bottom: 0.9rem; }
.host-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 520px) {
  .host-form .row { grid-template-columns: 1fr; }
}
.host-perks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.perk {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
}
.perk h3 {
  font-family: var(--font);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.perk-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  background: rgba(0,110,186,0.12);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 2rem 1.25rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer .brand { font-size: 1.1rem; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--muted); }
.footer-links a:hover { color: var(--blue); }

.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--navy);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 150;
  transition: transform 0.25s var(--ease);
  box-shadow: var(--shadow);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.5rem 0; }
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(39,2,174,0.08);
  color: var(--purple);
}


/* ——— Guest voices ——— */
.guest-voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0.5rem;
}
.guest-voice {
  background: var(--card);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 8px 24px rgba(20, 16, 12, 0.04);
}
.guest-voice blockquote {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink, #1a1614);
}
.guest-voice cite {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}
.guest-voice cite strong {
  display: block;
  color: var(--ink, #1a1614);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.listing-quotes {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.85rem;
}
.listing-quote {
  border-left: 3px solid var(--accent, #e11d48);
  padding: 0.35rem 0 0.35rem 0.9rem;
}
.listing-quote p { margin: 0 0 0.35rem; }
.listing-quote span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 820px) {
  .guest-voices { grid-template-columns: 1fr; }
}
