:root {
  --mala: #c20f5a;
  --mala-dark: #8f0e43;
  --pepper: #ec4b22;
  --ginger: #f8b938;
  --tea: #0f6f59;
  --ink: #241a1e;
  --muted: #72636b;
  --line: #eadbe0;
  --cream: #fff4e8;
  --rose: #fde5ef;
  --surface: #ffffff;
  --shadow: 0 14px 32px rgba(63, 24, 39, 0.14);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffdf9;
  font: 15px/1.55 var(--font);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(180px, 340px) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mala);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mala);
  color: #fff;
  font-size: 16px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
}

.nav-links,
.header-actions,
.slider-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  justify-content: flex-end;
  color: #55464d;
  font-weight: 700;
}

.ghost-button,
.icon-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.ghost-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 54px clamp(20px, 8vw, 128px) 64px;
  background:
    radial-gradient(circle at 12% 12%, rgba(236, 75, 34, 0.13), transparent 31%),
    linear-gradient(135deg, #fff6ea 0%, #fffaf5 52%, #f9e5ee 100%);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.tag {
  margin: 0 0 8px;
  color: var(--mala);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 580px;
  color: #5e4b53;
  font-size: 19px;
}

.hero-search {
  display: flex;
  width: min(100%, 560px);
  padding: 8px;
  border: 1px solid #f0cbd7;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
}

.hero-search button,
.booking-form button {
  border: 0;
  border-radius: 999px;
  background: var(--ginger);
  color: #241a1e;
  cursor: pointer;
  font-weight: 900;
}

.hero-search button {
  min-height: 48px;
  padding: 0 24px;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-filters a {
  padding: 8px 14px;
  border: 1px solid #efc8d5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--mala-dark);
  font-weight: 800;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  grid-auto-rows: 142px;
  gap: 14px;
  transform: rotate(1deg);
}

.hero-mosaic img {
  width: 100%;
  height: 100%;
  border: 6px solid #fff;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-mosaic .mosaic-large {
  grid-row: span 3;
}

.featured-strip,
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 30px clamp(20px, 8vw, 128px);
  background: var(--mala-dark);
  color: #fff;
}

.featured-strip article,
.trust-band div {
  display: grid;
  gap: 4px;
}

.featured-strip strong,
.trust-band strong {
  font-size: 22px;
}

.featured-strip span,
.trust-band span {
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 66px clamp(20px, 8vw, 128px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.sort-select {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rank-card {
  position: relative;
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(63, 24, 39, 0.08);
}

.rank-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-card div {
  padding: 22px;
}

.rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--mala);
  font-size: 22px;
  font-weight: 900;
}

.trust-band {
  grid-template-columns: repeat(3, 1fr);
  background: #0f4d40;
}

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

.experience-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #eed5c1;
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 8px 20px rgba(63, 24, 39, 0.1);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.experience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.experience-card > img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--mala);
  cursor: pointer;
  font-size: 22px;
}

.host-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  margin: -24px 16px 0;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  background: var(--mala);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.host-badge img {
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.card-body {
  padding: 14px 18px 18px;
}

.rating {
  margin-bottom: 12px;
  color: #6a5860;
  font-size: 13px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill-row span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #336457;
  font-size: 12px;
  font-weight: 800;
}

.locals-section {
  background: #fff7f1;
}

.text-link {
  color: var(--mala);
  font-weight: 900;
}

.locals-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.local-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #222;
}

.local-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: brightness(0.72);
}

.local-card div {
  position: absolute;
  inset: auto 16px 18px;
  display: grid;
  gap: 2px;
}

.local-card strong {
  font-size: 28px;
  line-height: 1;
}

.local-card span,
.local-card small {
  font-weight: 800;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 36px;
  align-items: center;
  background: #f9e0ec;
}

.story-copy {
  max-width: 760px;
}

.story-copy p:not(.eyebrow) {
  color: #58454d;
  font-size: 17px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-weight: 900;
}

.reviewer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.story-image {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.destination-grid .section-heading {
  grid-column: 1 / -1;
}

.destination-grid a {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: 8px;
  background: #222;
}

.destination-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78);
  transition: transform 220ms ease;
}

.destination-grid a:hover img {
  transform: scale(1.04);
}

.destination-grid span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.booking-drawer {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 30;
  display: grid;
  gap: 12px;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(calc(100% + 40px));
  transition: transform 240ms ease;
}

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

.booking-drawer > img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  border-radius: 8px;
  object-fit: cover;
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 24px;
}

.drawer-copy {
  color: var(--muted);
}

.drawer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--rose);
  color: var(--mala-dark);
  font-size: 13px;
  font-weight: 900;
}

.booking-form {
  display: grid;
  gap: 10px;
}

.booking-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.booking-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-form button {
  min-height: 48px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 54px clamp(20px, 8vw, 128px);
  background: #fde9d4;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  color: var(--muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 34px;
  color: var(--mala-dark);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .search,
  .nav-links {
    display: none;
  }

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

  .featured-strip,
  .highlight-row,
  .trust-band,
  .experience-grid,
  .locals-row,
  .destination-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .header-actions .ghost-button {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 36px 16px 44px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-search {
    border-radius: 18px;
    flex-direction: column;
  }

  .hero-search input,
  .hero-search button {
    min-height: 46px;
  }

  .hero-mosaic {
    grid-auto-rows: 110px;
  }

  .section,
  .featured-strip,
  .trust-band,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading,
  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .featured-strip,
  .highlight-row,
  .trust-band,
  .experience-grid,
  .locals-row,
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .rank-card {
    grid-template-columns: 1fr;
  }

  .rank-card img {
    height: 220px;
  }

  .booking-drawer {
    top: auto;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-height: 82vh;
  }
}
