:root {
  --paper: #f7f2e8;
  --surface: #ffffff;
  --surface-muted: #f2f6f4;
  --ink: #101623;
  --muted: #647084;
  --line: #dfe4df;
  --accent: #0f766e;
  --accent-bright: #22d3ee;
  --gold: #f2b84b;
  --shadow: 0 18px 45px rgb(16 22 35 / 12%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgb(255 255 255 / 75%);
  background: rgb(247 242 232 / 86%);
  backdrop-filter: blur(18px);
}

.header-inner,
.page-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  gap: 26px;
  color: #526073;
  font-size: 0.94rem;
  font-weight: 650;
}

.outline-button,
.icon-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-weight: 700;
}

.outline-button {
  padding: 10px 16px;
}

.icon-button {
  width: 42px;
  height: 42px;
}

.mobile-only {
  display: none;
}

.page-shell {
  padding: 36px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: end;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  color: #526073;
  box-shadow: 0 8px 20px rgb(16 22 35 / 7%);
  font-size: 0.9rem;
  font-weight: 650;
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: clamp(2.5rem, 5.4vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #526073;
  font-size: 1.15rem;
  line-height: 1.75;
}

.search-panel {
  border-radius: 8px;
  background: white;
  padding: 12px;
  box-shadow: 0 12px 30px rgb(16 22 35 / 8%);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
  padding: 0 15px;
}

.search-box span {
  color: #8b97a8;
  font-size: 1.25rem;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 12px;
}

.filter-row button,
.view-toggle button {
  border: 0;
  border-radius: 999px;
  background: #edf2f0;
  color: #526073;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 750;
}

.filter-row button {
  padding: 10px 15px;
}

.filter-row button.active,
.view-toggle button.active {
  background: var(--ink);
  color: white;
}

.explore-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
}

.explore-heading p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.explore-heading h2 {
  margin: 0;
  font-size: 1.75rem;
}

.view-toggle {
  display: flex;
  gap: 4px;
  border-radius: 999px;
  background: white;
  padding: 5px;
  box-shadow: 0 8px 20px rgb(16 22 35 / 7%);
}

.view-toggle button {
  padding: 10px 15px;
}

.content-grid {
  display: grid;
  gap: 24px;
  margin-top: 22px;
}

.content-grid.split {
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
}

.content-grid.list {
  grid-template-columns: 1fr;
}

.content-grid.map {
  grid-template-columns: 1fr;
}

.content-grid.map .hotel-grid,
.content-grid.list .map-panel {
  display: none;
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: start;
  max-height: 700px;
  overflow-y: auto;
  padding-right: 4px;
}

.content-grid.list .hotel-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-height: none;
}

.hotel-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0;
  text-align: left;
  box-shadow: 0 8px 20px rgb(16 22 35 / 6%);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.hotel-card:hover,
.hotel-card.selected {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.card-image {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: #d6ddd9;
}

.card-image img,
.drawer-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image::after,
.drawer-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgb(0 0 0 / 56%), transparent 62%);
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: rgb(255 255 255 / 95%);
  color: var(--ink);
  padding: 5px 9px;
  font-size: 0.84rem;
  font-weight: 850;
}

.muted-rating {
  color: #526073;
}

.card-image .rating-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}

.card-title {
  position: absolute;
  z-index: 1;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: white;
}

.card-title small {
  display: block;
  color: rgb(255 255 255 / 80%);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-title strong {
  display: block;
  margin-top: 3px;
  font-size: 1.12rem;
}

.card-body {
  padding: 15px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  border-radius: 999px;
  background: #edf2f0;
  color: #526073;
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 750;
}

.comment {
  display: -webkit-box;
  min-height: 48px;
  margin: 12px 0;
  overflow: hidden;
  color: #526073;
  font-size: 0.92rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-meta strong {
  color: var(--ink);
}

.map-panel {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 24%, rgb(34 211 238 / 28%), transparent 29%),
    radial-gradient(circle at 70% 46%, rgb(15 118 110 / 28%), transparent 30%),
    radial-gradient(circle at 42% 74%, rgb(242 184 75 / 20%), transparent 24%),
    #101623;
  box-shadow: 0 10px 28px rgb(16 22 35 / 10%);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgb(255 255 255 / 20%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 20%) 1px, transparent 1px);
  background-size: 44px 44px;
}

.map-title,
.selected-hotel {
  position: absolute;
  z-index: 2;
  border-radius: 8px;
  background: rgb(255 255 255 / 94%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.map-title {
  top: 20px;
  left: 20px;
  padding: 15px;
}

.map-title strong,
.map-title span {
  display: block;
}

.map-title span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.map-pin {
  position: absolute;
  z-index: 1;
  width: 24px;
  height: 24px;
  border: 4px solid rgb(255 255 255 / 92%);
  border-radius: 999px;
  background: var(--accent-bright);
  box-shadow: 0 12px 22px rgb(0 0 0 / 26%);
  transform: translate(-50%, -50%);
}

.map-pin.selected {
  width: 28px;
  height: 28px;
  background: var(--gold);
}

.selected-hotel {
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
}

.selected-hotel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
  text-transform: uppercase;
}

.selected-hotel h3 {
  margin: 7px 0 2px;
}

.primary-button {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 11px 15px;
  font-weight: 800;
  white-space: nowrap;
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.use-cases article {
  border-radius: 8px;
  background: white;
  padding: 24px;
  box-shadow: 0 8px 20px rgb(16 22 35 / 6%);
}

.use-cases span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #edf2f0;
  font-size: 1.7rem;
}

.use-cases h3 {
  margin: 22px 0 8px;
}

.use-cases p {
  margin: 0;
  color: #526073;
  line-height: 1.65;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  width: min(440px, 100%);
  overflow-y: auto;
  background: white;
  box-shadow: -20px 0 50px rgb(16 22 35 / 24%);
  transform: translateX(105%);
  transition: transform 230ms ease;
}

.drawer.open {
  transform: translateX(0);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgb(16 22 35 / 32%);
}

.drawer-hero {
  position: relative;
  height: 290px;
}

.drawer-title {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: white;
}

.drawer-title h2 {
  margin: 12px 0 6px;
  font-size: 2rem;
  line-height: 1.05;
}

.drawer-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 94%);
  color: var(--ink);
  font-size: 1.25rem;
}

.drawer-body {
  padding: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.drawer-body > p {
  color: #526073;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px;
}

.stat small {
  display: block;
  color: var(--muted);
}

.stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
}

.checklist {
  margin-top: 24px;
  border-radius: 8px;
  background: var(--surface-muted);
  padding: 16px;
}

.detail-ratings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0 24px;
}

.detail-ratings div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: #526073;
}

.detail-ratings strong {
  color: var(--ink);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
  color: #526073;
  font-size: 0.92rem;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed #bdc7c0;
  border-radius: 8px;
  background: rgb(255 255 255 / 65%);
  padding: 28px;
  color: #526073;
}

.site-footer {
  width: min(1240px, calc(100% - 32px));
  margin: -28px auto 22px;
  color: rgb(100 112 132 / 42%);
  font-size: 0.72rem;
  text-align: right;
}

@media (max-width: 980px) {
  .desktop-nav,
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: inline-grid;
    place-items: center;
  }

  .hero,
  .content-grid.split {
    grid-template-columns: 1fr;
  }

  .hotel-grid {
    max-height: none;
  }

  .map-panel {
    min-height: 520px;
  }
}

@media (max-width: 700px) {
  .header-inner,
  .page-shell {
    width: min(100% - 24px, 1240px);
  }

  .brand small,
  .wide-only {
    display: none;
  }

  .page-shell {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .explore-heading,
  .selected-hotel {
    align-items: stretch;
    flex-direction: column;
  }

  .hotel-grid,
  .use-cases,
  .stats,
  .checklist-grid,
  .detail-ratings {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 460px;
  }
}
