:root {
  color-scheme: dark;
  --ink: #f6efe4;
  --muted: #cbbfae;
  --soft: rgba(246, 239, 228, 0.72);
  --bg: #10100f;
  --panel: #191713;
  --panel-strong: #242018;
  --line: rgba(246, 239, 228, 0.16);
  --gold: #d8ac62;
  --copper: #b86f47;
  --teal: #6db2a2;
  --wine: #8e4b58;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 7rem;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #10100f;
  background-size: 52px 52px;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 1rem auto 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 15, 0.62);
  backdrop-filter: blur(18px);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(216, 172, 98, 0.3);
  background: rgba(16, 16, 15, 0.88);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(216, 172, 98, 0.44);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  min-height: 2.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.92rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  place-items: end start;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.9), rgba(16, 16, 15, 0.48) 46%, rgba(16, 16, 15, 0.72)),
    linear-gradient(0deg, #10100f 0%, rgba(16, 16, 15, 0.36) 42%, rgba(16, 16, 15, 0.08));
}

.time-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at center, transparent 0 28%, rgba(216, 172, 98, 0.18) 28.2%, transparent 28.7%),
    linear-gradient(90deg, transparent 0 49.8%, rgba(216, 172, 98, 0.18) 50%, transparent 50.2%);
  background-position: 62vw 47vh, center;
  background-size: 640px 640px, 100% 100%;
  opacity: 0.42;
  animation: clockPulse 7s ease-in-out infinite;
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 11rem 0 5rem;
}

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

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

h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 9.4rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.9;
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 46rem;
  color: var(--soft);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--gold);
  color: #191713;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #f0c878;
}

.button-secondary {
  border-color: rgba(246, 239, 228, 0.26);
  background: rgba(246, 239, 228, 0.08);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(246, 239, 228, 0.46);
  background: rgba(246, 239, 228, 0.14);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 10rem));
  gap: 0.75rem;
  max-width: 34rem;
  margin: 2.2rem 0 0;
}

.hero-stats div {
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 15, 0.42);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--soft);
  font-size: 0.88rem;
}

.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-heading {
  max-width: 52rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--soft);
  font-size: 1.05rem;
}

.promise-grid,
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.promise {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.promise p {
  margin-bottom: 0;
  color: var(--muted);
}

.promise-icon {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(216, 172, 98, 0.14);
  color: var(--gold);
  font-size: 1.2rem;
}

.destination-card {
  position: relative;
  display: flex;
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.destination-card:hover,
.destination-card:focus-within {
  border-color: rgba(216, 172, 98, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.destination-card picture {
  position: absolute;
  inset: 0;
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.destination-card:hover img,
.destination-card:focus-within img {
  transform: scale(1.045);
}

.destination-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(16, 16, 15, 0.95), rgba(16, 16, 15, 0.2) 58%, rgba(16, 16, 15, 0.08));
}

.destination-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 1.15rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.tag {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(246, 239, 228, 0.2);
  border-radius: 999px;
  background: rgba(16, 16, 15, 0.5);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.destination-content h3 {
  margin-bottom: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 500;
}

.destination-content p {
  color: var(--muted);
}

.meta-list {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
  font-size: 0.92rem;
}

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

.planner,
.quiz {
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(109, 178, 162, 0.08), transparent 42%),
    linear-gradient(270deg, rgba(142, 75, 88, 0.1), transparent 48%);
}

.planner-layout,
.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 4rem);
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.booking-form,
.quiz-panel {
  display: grid;
  gap: 1rem;
  align-self: start;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 16, 15, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(246, 239, 228, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  outline: none;
}

select option {
  background: #191713;
}

input:focus,
select:focus {
  border-color: rgba(216, 172, 98, 0.75);
}

.full-field {
  grid-column: 1 / -1;
}

.booking-result,
.quiz-result {
  display: none;
  padding: 1rem;
  border: 1px solid rgba(109, 178, 162, 0.45);
  border-radius: var(--radius);
  background: rgba(109, 178, 162, 0.1);
  color: var(--ink);
}

.booking-result.is-visible,
.quiz-result.is-visible {
  display: block;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
}

fieldset:last-of-type {
  border-bottom: 0;
}

legend {
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.choice-row button,
.quick-prompts button {
  min-height: 2.5rem;
  padding: 0.58rem 0.75rem;
  border: 1px solid rgba(246, 239, 228, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--soft);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.choice-row button:hover,
.choice-row button:focus-visible,
.quick-prompts button:hover,
.quick-prompts button:focus-visible {
  border-color: rgba(216, 172, 98, 0.48);
  color: var(--ink);
  outline: none;
}

.choice-row button.is-selected {
  border-color: var(--gold);
  background: rgba(216, 172, 98, 0.18);
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.destination-dialog {
  width: min(92vw, 900px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 172, 98, 0.36);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.destination-dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

.dialog-visual {
  height: min(42vh, 360px);
}

.dialog-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-body {
  padding: 1.5rem;
}

.dialog-body h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.dialog-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.dialog-fact {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.dialog-fact span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chatbot {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
}

.chat-toggle,
.icon-button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 172, 98, 0.42);
  border-radius: 50%;
  background: rgba(16, 16, 15, 0.88);
  color: var(--ink);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.32);
}

.chat-toggle {
  width: 3.7rem;
  height: 3.7rem;
  color: var(--gold);
  font-size: 2rem;
}

.icon-button {
  width: 2.35rem;
  height: 2.35rem;
  font-size: 1.35rem;
}

.chat-toggle:hover,
.chat-toggle:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(216, 172, 98, 0.18);
  outline: none;
}

.chat-window {
  position: absolute;
  right: 0;
  bottom: 4.5rem;
  display: grid;
  grid-template-rows: auto minmax(13rem, 22rem) auto auto;
  width: min(92vw, 390px);
  overflow: hidden;
  border: 1px solid rgba(216, 172, 98, 0.36);
  border-radius: var(--radius);
  background: rgba(20, 18, 15, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.chat-window[hidden] {
  display: none;
}

.chat-window header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.chat-window h2 {
  margin: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
}

.chat-window .eyebrow {
  margin-bottom: 0.25rem;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  overflow-y: auto;
  padding: 1rem;
}

.message {
  width: fit-content;
  max-width: 86%;
  padding: 0.72rem 0.85rem;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.92rem;
}

.message.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
}

.message.user {
  align-self: flex-end;
  background: rgba(216, 172, 98, 0.2);
}

.quick-prompts {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0 1rem 0.85rem;
}

.quick-prompts button {
  min-width: max-content;
  font-size: 0.78rem;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 3rem;
  gap: 0.5rem;
  padding: 0.9rem;
  border-top: 1px solid var(--line);
}

.chat-form button {
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: #161513;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.045) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes clockPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: rotate(0deg);
  }
  50% {
    opacity: 0.5;
    transform: rotate(1.4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 98vh;
  }

  .promise-grid,
  .destination-grid,
  .planner-layout,
  .quiz-layout {
    grid-template-columns: 1fr;
  }

  .destination-card {
    min-height: 30rem;
  }

  .planner,
  .quiz {
    width: 100%;
  }

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

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero-content {
    padding-top: 12rem;
  }

  h1 {
    font-size: clamp(3.2rem, 20vw, 5rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 1rem, var(--max));
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 1rem, var(--max));
  }
}
