:root {
  --bg: #fbf8f4;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #1f1a17;
  --muted: #6f655e;
  --line: rgba(31, 26, 23, 0.1);
  --accent: #e45d4f;
  --accent-dark: #c84b3e;
  --shadow: 0 24px 60px rgba(61, 42, 32, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(228, 93, 79, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(197, 155, 109, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdfa 0%, var(--bg) 100%);
}

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

button,
a,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}

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

.demo-ribbon {
  padding: 0.8rem 1rem;
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: #fffaf6;
  background: linear-gradient(90deg, #1f1a17, #3e3027);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 1.2rem;
}

.brand-mark,
.tour-title {
  font-family: Georgia, "Times New Roman", serif;
}

.brand-mark {
  font-size: 1.3rem;
  font-weight: 700;
}

.header-actions,
.meta-row,
.section-heading,
.booking-price-row,
.vote-actions {
  display: flex;
  align-items: center;
}

.header-actions,
.meta-row {
  gap: 1rem;
  flex-wrap: wrap;
}

.text-link,
.back-link,
.secondary-link {
  color: var(--muted);
}

.text-link:hover,
.back-link:hover,
.secondary-link:hover {
  color: var(--text);
}

.ghost-button,
.primary-button,
.inline-button,
.show-all-button,
.section-tab,
.thumb-card,
.vote-option {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.ghost-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.ghost-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.ghost-button:hover,
.section-tab:hover,
.thumb-card:hover,
.vote-option:hover,
.hero-photo:hover,
.show-all-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(45, 28, 18, 0.08);
}

.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
}

.home-layout {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
}

.home-hero-entry {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.home-copy,
.home-visual,
.hero-fixed-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.home-copy,
.hero-fixed-banner {
  padding: 1.5rem;
}

.home-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.03;
}

.home-lead {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  color: var(--text);
}

.home-body {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.home-cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.home-ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-visual {
  padding: 1rem;
}

.home-visual-light {
  padding: 0.85rem;
}

.home-main-photo,
.home-mini-photo,
.hero-fixed-preview,
.final-selection-item img {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.home-main-photo img,
.home-mini-photo img,
.hero-fixed-preview img,
.final-selection-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-main-photo {
  aspect-ratio: 1.08;
  margin-bottom: 0.85rem;
}

.home-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.home-mini-grid-light {
  gap: 0.65rem;
}

.home-mini-photo {
  aspect-ratio: 1.08;
}

.home-mini-grid-light .home-mini-photo {
  aspect-ratio: 1.2;
}

.home-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-cta-card {
  display: block;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.home-cta-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.home-cta-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-trust-grid-light {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-trust-grid .section-card strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
}

.home-trust-grid .section-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
}

.title-block h1,
.tour-header-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.06;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-row {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-photo,
.featured-photo,
.thumb-card,
.vote-option {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.hero-photo {
  aspect-ratio: 1.18;
}

.hero-photo-large {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

.hero-photo img,
.featured-photo img,
.thumb-card img,
.vote-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.show-all-button {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(31, 26, 23, 0.18);
}

.section-card,
.booking-card,
.tour-header-card,
.section-stage-card,
.vote-module {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.section-card,
.tour-header-card,
.section-stage-card,
.vote-module {
  padding: 1.5rem;
}

.intro-card,
.trust-card,
.reviews-card,
.highlights-grid,
.amenities-grid {
  margin-top: 1.5rem;
}

.intro-card {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.intro-card h2,
.section-heading h2,
.vote-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.intro-card p,
.section-copy,
.tour-header-card p,
.vote-head p,
.review-item p,
.trust-item p {
  color: var(--muted);
}

.host-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 260px;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
}

.host-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, #1f1a17, #7b5f48);
  font-weight: 700;
}

.highlights-grid,
.trust-grid,
.review-grid,
.thumb-grid,
.vote-options {
  display: grid;
  gap: 1rem;
}

.highlights-grid,
.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.trust-item,
.review-item {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}

.amenities-grid {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.amenity-pill {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.booking-sidebar {
  position: sticky;
  top: 1.25rem;
}

.booking-card {
  padding: 1.4rem;
}

.booking-price-row {
  justify-content: space-between;
  margin-bottom: 1rem;
}

.booking-price-row strong {
  font-size: 1.8rem;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.booking-grid > div {
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.booking-grid > div:nth-child(2n) {
  border-right: 0;
}

.booking-grid-full {
  grid-column: 1 / -1;
  border-bottom: 0;
}

.booking-grid label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.primary-button {
  display: block;
  width: 100%;
  padding: 0.98rem 1.2rem;
  border-radius: 18px;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 16px 28px rgba(228, 93, 79, 0.28);
  cursor: pointer;
}

.primary-button:hover,
.inline-button:hover {
  transform: translateY(-1px);
}

.primary-button.is-confirmed {
  background: linear-gradient(135deg, #34775f, #285a48);
  box-shadow: 0 16px 28px rgba(52, 119, 95, 0.24);
}

.muted-text {
  color: var(--muted);
  font-size: 0.92rem;
}

.price-breakdown {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.price-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.price-total {
  margin-top: 0.4rem;
  font-weight: 700;
}

.photo-tour-layout {
  padding-bottom: 3rem;
}

.tour-badge {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.tour-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.inline-button {
  width: auto;
}

.tour-summary {
  min-width: 180px;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  text-align: right;
  background: rgba(255, 255, 255, 0.82);
}

.tour-summary strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.tour-summary span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-fixed-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.hero-fixed-banner h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-fixed-banner p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.hero-fixed-preview {
  aspect-ratio: 1.2;
}

.section-tabs {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.section-tab {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.section-tab small {
  color: var(--muted);
}

.section-tab.is-active {
  color: white;
  background: linear-gradient(135deg, #1f1a17, #5f4636);
}

.section-tab.is-active small {
  color: rgba(255, 255, 255, 0.78);
}

.section-stage-card {
  display: grid;
  gap: 1.25rem;
}

.slot-group {
  display: grid;
  gap: 1rem;
}

.slot-group-bonus {
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}

.slot-group-head h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.slot-stack {
  display: grid;
  gap: 1rem;
}

.slot-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.slot-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.slot-header h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.slot-instruction {
  margin: 0.45rem 0 0;
  max-width: 720px;
  color: var(--muted);
}

.slot-status {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: end;
}

.slot-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.slot-pill.is-complete {
  color: #2f6b55;
  border-color: rgba(47, 107, 85, 0.18);
  background: rgba(82, 157, 124, 0.1);
}

.slot-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: start;
}

.slot-option {
  position: relative;
  overflow: hidden;
  text-align: left;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 26, 23, 0.08);
  background: #fff;
  box-shadow: 0 12px 30px rgba(45, 28, 18, 0.08);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.slot-option img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 220ms ease;
}

.slot-option-copy {
  display: grid;
  gap: 0.35rem;
  padding: 0.72rem 0.8rem 0.82rem;
}

.slot-option-copy strong {
  font-size: 0.86rem;
  line-height: 1.2;
}

.slot-option-copy span {
  color: var(--muted);
  font-size: 0.76rem;
}

.slot-option:hover {
  z-index: 2;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(45, 28, 18, 0.16);
}

.slot-option:hover img,
.slot-option.is-selected img {
  transform: scale(1.12);
}

.slot-option.is-selected {
  border-color: rgba(228, 93, 79, 0.58);
  box-shadow: 0 20px 40px rgba(228, 93, 79, 0.22);
}

.slot-option-none {
  display: grid;
  place-items: center;
  min-height: 188px;
  border-style: dashed;
  background:
    radial-gradient(circle at top left, rgba(228, 93, 79, 0.08), transparent 32%),
    rgba(255, 251, 248, 0.92);
}

.section-heading {
  justify-content: space-between;
  gap: 1.5rem;
}

.section-copy {
  max-width: 420px;
  margin: 0;
}

.final-selection-card {
  margin-top: 1.5rem;
}

.final-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.final-selection-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
}

.final-selection-item img {
  aspect-ratio: 1.15;
}

.final-selection-item strong,
.final-selection-item span {
  display: block;
}

.final-selection-item span {
  margin-top: 0.28rem;
  color: var(--muted);
}

.featured-photo {
  margin: 0;
  aspect-ratio: 16 / 9;
}

.featured-photo figcaption {
  padding: 1rem 1.15rem 1.15rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
}

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

.thumb-card {
  text-align: left;
}

.thumb-card span {
  display: block;
  padding: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.thumb-card.is-active,
.vote-option.is-selected {
  border-color: rgba(228, 93, 79, 0.58);
  box-shadow: 0 18px 36px rgba(228, 93, 79, 0.2);
}

.vote-module {
  margin-top: 0.3rem;
}

.vote-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vote-head h3 {
  font-size: 1.45rem;
}

.vote-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vote-option {
  text-align: left;
}

.vote-option span {
  display: block;
  padding: 0.85rem 1rem 1rem;
  font-weight: 600;
}

.comment-field {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.comment-field span {
  font-weight: 500;
  color: var(--muted);
}

.comment-field textarea {
  width: 100%;
  min-height: 84px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  resize: vertical;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
}

.vote-actions {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.vote-feedback {
  margin: 0;
  color: #34775f;
  font-weight: 600;
  opacity: 0;
}

.vote-feedback.is-visible {
  opacity: 1;
}

@media (max-width: 1024px) {
  .listing-layout {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    position: static;
  }

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

  .hero-photo-large {
    grid-column: 1 / -1;
  }

  .highlights-grid,
  .review-grid,
  .trust-grid,
  .home-trust-grid,
  .home-cta-grid,
  .vote-options,
  .final-selection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero,
  .hero-fixed-banner {
    grid-template-columns: 1fr;
  }

  .slot-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .site-header,
  .tour-header-card,
  .intro-card,
  .section-heading,
  .slot-header,
  .vote-head,
  .vote-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-grid,
  .thumb-grid,
  .highlights-grid,
  .review-grid,
  .trust-grid,
  .home-trust-grid,
  .home-cta-grid,
  .final-selection-grid {
    grid-template-columns: 1fr;
  }

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

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

  .booking-grid > div {
    border-right: 0;
  }

  .home-cta-row {
    flex-direction: column;
  }

  .final-selection-item {
    grid-template-columns: 1fr;
  }
}
