:root {
  color-scheme: dark;
  --bg: #08111c;
  --bg-soft: #101b28;
  --bg-panel: rgba(8, 17, 28, 0.78);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4efe6;
  --muted: #c1c8d6;
  --muted-strong: #d9deea;
  --gold: #d3a857;
  --gold-strong: #f1c980;
  --teal: #7bc7c1;
  --rose: #e49b87;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(228, 155, 135, 0.22), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(123, 199, 193, 0.18), transparent 22%),
    linear-gradient(145deg, #08111c 0%, #0b1727 46%, #0a0f18 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.2px),
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1.1px),
    radial-gradient(circle at 60% 75%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px),
    radial-gradient(circle at 35% 80%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1.1px);
  background-size: 220px 220px, 320px 320px, 280px 280px, 360px 360px;
  opacity: 0.75;
}

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

a,
button,
input,
select,
textarea {
  font: inherit;
}

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

button {
  cursor: pointer;
  border: 0;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 17, 29, 0.78);
  color: var(--text);
  padding: 0.9rem 1rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(241, 201, 128, 0.85);
  outline-offset: 2px;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.ambient {
  position: fixed;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  pointer-events: none;
  z-index: -1;
}

.ambient--amber {
  top: -10rem;
  left: -10rem;
  background: rgba(211, 168, 87, 0.55);
}

.ambient--teal {
  top: 16rem;
  right: -12rem;
  background: rgba(123, 199, 193, 0.45);
}

.ambient--rose {
  bottom: -10rem;
  left: 35%;
  background: rgba(228, 155, 135, 0.48);
}

.section,
.site-header,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 0 0 5rem;
}

.section[id] {
  scroll-margin-top: 8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 0;
  margin-bottom: 2rem;
  background: linear-gradient(180deg, rgba(8, 17, 28, 0.9), rgba(8, 17, 28, 0.58));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(241, 201, 128, 0.35);
  background:
    radial-gradient(circle at 30% 30%, rgba(241, 201, 128, 0.28), transparent 55%),
    rgba(255, 255, 255, 0.04);
  color: var(--gold-strong);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-weight: 800;
  line-height: 1;
}

.brand__text span:first-child {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand__text span:last-child {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  position: absolute;
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.button,
.text-button {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  background: linear-gradient(135deg, #f1c980, #b88434);
  color: #0a111c;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(211, 168, 87, 0.18);
}

.button:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.button--small {
  padding: 0.72rem 1.1rem;
  font-size: 0.92rem;
}

.text-button {
  background: transparent;
  padding: 0;
  color: var(--gold-strong);
  font-weight: 700;
}

.glass-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 24, 39, 0.88), rgba(8, 17, 28, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - 8rem);
  padding-top: 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% 22% auto auto;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  border: 1px dashed rgba(241, 201, 128, 0.2);
  transform: rotate(14deg);
  opacity: 0.9;
  animation: orbit-spin 22s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto 10% 8%;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 199, 193, 0.08), transparent 70%);
  filter: blur(12px);
}

.hero__copy {
  position: relative;
  z-index: 1;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.7rem, 8vw, 6.8rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h4 {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
}

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

.hero__lead {
  max-width: 61ch;
  margin: 1.25rem 0 1.7rem;
  font-size: 1.05rem;
  color: var(--muted-strong);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.7rem;
}

.hero__signals {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted-strong);
}

.hero__signals li {
  position: relative;
  padding-left: 1.4rem;
}

.hero__signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-strong), var(--rose));
  box-shadow: 0 0 16px rgba(241, 201, 128, 0.4);
}

.hero__panel {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  padding: 1.4rem;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel-heading__label {
  color: var(--muted-strong);
  font-weight: 700;
}

.status-pill {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(123, 199, 193, 0.14);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.departure-list {
  display: grid;
  gap: 1rem;
}

.departure-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.departure-card--accent {
  background: linear-gradient(135deg, rgba(211, 168, 87, 0.12), rgba(123, 199, 193, 0.08));
}

.departure-card__era {
  margin-bottom: 0.4rem;
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.departure-card h2 {
  margin-bottom: 0.55rem;
  font-size: 2rem;
}

.section-header {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.agency-grid,
.planner-layout,
.booking-layout {
  display: grid;
  gap: 1.5rem;
}

.agency-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-card,
.metrics-card,
.quiz-form,
.quiz-result,
.booking-form,
.booking-brief,
.booking-result,
.detail-panel,
.chat-panel {
  border-radius: var(--radius-xl);
}

.feature-card,
.metrics-card {
  padding: 1.5rem;
}

.check-list,
.tag-list,
.package-list,
.briefing-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.briefing-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted-strong);
}

.check-list li + li,
.briefing-points li + li {
  margin-top: 0.8rem;
}

.check-list li::before,
.briefing-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--gold-strong);
}

.metrics-card {
  display: grid;
  gap: 1rem;
}

.metric {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.metric:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.metric__value {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold-strong);
  font-size: 2.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.metric__label {
  color: var(--muted-strong);
}

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

.destination-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.destination-card:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 201, 128, 0.32);
}

.destination-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  filter: saturate(0.88) contrast(1.04) brightness(0.86);
}

.destination-card__body {
  padding: 1.25rem;
}

.destination-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.destination-card p {
  margin: 0.85rem 0 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-list li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.destination-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.command-deck__layout {
  display: grid;
  gap: 1.5rem;
}

.command-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.command-tab {
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.command-tab.is-active {
  background: linear-gradient(135deg, rgba(241, 201, 128, 0.16), rgba(228, 155, 135, 0.08));
  color: var(--text);
  border-color: rgba(241, 201, 128, 0.28);
}

.detail-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
}

.detail-panel__media {
  min-height: 100%;
}

.detail-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02) brightness(0.9);
}

.detail-panel__content {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
}

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

.detail-stat {
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-stat__label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.detail-stat__value {
  color: var(--muted-strong);
  font-weight: 700;
}

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

.detail-columns ul,
.detail-columns ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted-strong);
}

.detail-columns li + li {
  margin-top: 0.55rem;
}

.detail-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.package-list {
  display: grid;
  gap: 0.75rem;
}

.package-list li {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
}

.package-list strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--text);
}

.planner-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.quiz-form,
.quiz-result,
.booking-form,
.booking-brief,
.booking-result {
  padding: 1.5rem;
}

.quiz-form {
  display: grid;
  gap: 1.25rem;
}

.quiz-form fieldset {
  margin: 0;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.quiz-form legend {
  padding: 0 0.35rem 0 0;
  font-weight: 700;
  color: var(--text);
}

.quiz-form label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin-top: 0.9rem;
  color: var(--muted-strong);
}

.quiz-form input[type="radio"] {
  width: auto;
  margin-top: 0.15rem;
}

.quiz-result {
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.booking-layout {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.booking-form {
  display: grid;
  gap: 1rem;
}

.booking-form label {
  display: grid;
  gap: 0.55rem;
  color: var(--muted-strong);
  font-weight: 600;
}

.booking-brief {
  display: grid;
  gap: 1rem;
}

.booking-result {
  margin-top: 1.5rem;
}

.concierge-card {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
  padding: 0 0 2.5rem;
}

.site-footer p:last-child {
  max-width: 32rem;
  text-align: right;
}

.chatbot {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  background: linear-gradient(135deg, rgba(241, 201, 128, 0.22), rgba(8, 17, 28, 0.92));
  color: var(--text);
  border: 1px solid rgba(241, 201, 128, 0.2);
  box-shadow: var(--shadow);
}

.chat-toggle__badge {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(123, 199, 193, 0.15);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chat-panel {
  width: min(420px, calc(100vw - 2rem));
  padding: 1rem;
}

.chat-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-close {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
}

.chat-messages {
  display: grid;
  gap: 0.8rem;
  max-height: 22rem;
  overflow-y: auto;
  padding: 1rem 0;
}

.message {
  max-width: 88%;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.message p + p {
  margin-top: 0.65rem;
}

.message--assistant {
  justify-self: start;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
}

.message--user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(241, 201, 128, 0.18), rgba(228, 155, 135, 0.1));
  color: var(--text);
}

.message--typing {
  font-style: italic;
  color: var(--muted);
}

.chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-bottom: 0.9rem;
}

.prompt-chip {
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-strong);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-prompts--static .prompt-chip {
  cursor: default;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.noscript-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(110, 24, 24, 0.92);
  color: #fff;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1040px) {
  .hero,
  .agency-grid,
  .planner-layout,
  .booking-layout,
  .detail-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .site-footer p:last-child {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    position: relative;
    display: inline-flex;
  }

  .site-nav {
    width: 100%;
    order: 4;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 17, 28, 0.92);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .destination-grid,
  .detail-columns,
  .detail-stats,
  .chat-form {
    grid-template-columns: 1fr;
  }

  .command-tabs {
    overflow-x: auto;
    padding-bottom: 0.3rem;
  }

  .chatbot {
    left: 1rem;
    right: 1rem;
    justify-items: stretch;
  }

  .chat-toggle {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .section,
  .site-header,
  .site-footer {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

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

  .hero__actions,
  .destination-card__actions,
  .detail-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}
