:root {
  color-scheme: dark;
  --bg: #08111d;
  --bg-2: #0e1726;
  --panel: rgba(12, 19, 32, 0.82);
  --panel-strong: rgba(17, 27, 44, 0.96);
  --card-border: rgba(255, 255, 255, 0.09);
  --text: #f5f7fb;
  --muted: #a8b1c4;
  --soft: #d8e0f1;
  --brand: #d7b46a;
  --brand-2: #6aa3ff;
  --success: #1fb97c;
  --danger: #ff6b6b;
  --shadow: 0 28px 70px rgba(2, 8, 20, 0.52);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(106, 163, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(215, 180, 106, 0.14), transparent 28%),
    linear-gradient(180deg, #07101a 0%, #0b1320 36%, #060b13 100%) fixed;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

::selection {
  background: rgba(215, 180, 106, 0.28);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  z-index: 99;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #0d1624;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.2rem 0 2.2rem;
}

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

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand-logo {
  width: clamp(160px, 18vw, 240px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.28));
}

.brand-copy {
  min-width: 0;
}

.brand-copy h1,
.hero-copy h2,
.section-head h2,
.feature-card h3,
.room-title {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.07;
}

.brand-copy h1 {
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
}

.trust-pill,
.step-chip,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  color: var(--soft);
  white-space: nowrap;
}

.trust-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(31, 185, 124, 0.15);
}

.layout-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.1rem;
  align-items: start;
}

.card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(18, 29, 48, 0.95), rgba(11, 17, 28, 0.92));
  box-shadow: var(--shadow);
}

.glass {
  backdrop-filter: blur(20px);
}

.hero-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.3rem;
  padding: clamp(1.2rem, 2vw, 1.8rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3.65rem);
  max-width: 13ch;
}

.hero-text {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.03rem;
}

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

.hero-highlights article,
.feature-card,
.receipt-panel,
.status-region,
.availability-summary {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.hero-highlights article {
  padding: 0.95rem;
}

.hero-highlights strong,
.feature-card h3,
.status-title,
.room-title {
  display: block;
  font-weight: 700;
}

.hero-highlights span,
.feature-card p,
.receipt-panel p,
.status-body,
.room-description,
.room-meta {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 0.8rem;
  align-content: start;
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: min(100%, 520px);
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.hero-visual figcaption {
  color: var(--muted);
  font-size: 0.94rem;
}

.booking-panel,
.availability-panel,
.summary-panel {
  padding: clamp(1.1rem, 1.8vw, 1.5rem);
}

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

.section-head h2 {
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
}

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

.field-group {
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.field-group legend {
  padding: 0 0.3rem;
  color: var(--soft);
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 0.9rem;
}

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

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

label {
  display: grid;
  gap: 0.4rem;
  color: var(--soft);
  font-weight: 600;
}

label span {
  font-size: 0.94rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 13, 23, 0.9);
  color: var(--text);
  padding: 0.94rem 1rem;
  min-height: 3.1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

textarea {
  resize: vertical;
  min-height: 6.5rem;
}

input::placeholder,
textarea::placeholder {
  color: #74809a;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
.room-select:focus-visible {
  border-color: rgba(215, 180, 106, 0.8);
  box-shadow: 0 0 0 4px rgba(215, 180, 106, 0.18);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.primary-btn,
.secondary-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  min-height: 3.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, opacity 0.16s ease;
}

.primary-btn {
  background: linear-gradient(135deg, var(--brand) 0%, #f1d39a 100%);
  color: #1b1204;
  box-shadow: 0 18px 30px rgba(215, 180, 106, 0.22);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.primary-btn:hover:not(:disabled),
.secondary-btn:hover:not(:disabled),
.room-select:hover:not(:disabled) {
  transform: translateY(-1px);
}

.primary-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.status-region {
  margin-top: 1rem;
  padding: 1rem;
}

.status-title {
  margin: 0 0 0.2rem;
}

.status-body {
  margin: 0;
}

.availability-summary {
  margin-bottom: 1rem;
  padding: 1rem;
}

.room-list {
  display: grid;
  gap: 0.95rem;
}

.room-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 0.95rem;
  padding: 0.95rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.room-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.room-body {
  display: grid;
  gap: 0.75rem;
}

.room-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.room-meta {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
}

.room-rate {
  flex-shrink: 0;
  font-weight: 800;
  color: var(--brand);
  font-size: 1.05rem;
  text-align: right;
}

.room-description {
  margin: 0;
}

.room-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.room-badges li {
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--soft);
  font-size: 0.86rem;
}

.room-card.selected {
  border-color: rgba(215, 180, 106, 0.42);
  background: linear-gradient(180deg, rgba(215, 180, 106, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.room-card.selected .room-select {
  background: rgba(31, 185, 124, 0.16);
  border-color: rgba(31, 185, 124, 0.35);
}

.summary-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-list dt {
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: var(--text);
}

.receipt-panel {
  margin-top: 1rem;
  padding: 1rem;
}

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

.feature-card {
  padding: 1rem;
}

.feature-card p {
  margin: 0.55rem 0 0;
}

.toast-region {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: grid;
  gap: 0.75rem;
  width: min(100% - 2rem, 380px);
}

.toast {
  border-radius: 18px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 15, 24, 0.95);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.toast strong {
  display: block;
  margin-bottom: 0.15rem;
}

.toast.success {
  border-color: rgba(31, 185, 124, 0.3);
}

.toast.error {
  border-color: rgba(255, 107, 107, 0.35);
}

.toast.info {
  border-color: rgba(106, 163, 255, 0.35);
}

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

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

  .hero-visual img {
    max-height: 440px;
  }
}

@media (max-width: 920px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-highlights,
  .features-strip,
  .three-up {
    grid-template-columns: 1fr;
  }

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

  .room-media img {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 0.8rem;
  }

  .brand-wrap {
    align-items: flex-start;
  }

  .brand-logo {
    width: min(56vw, 220px);
  }

  .hero-copy h2 {
    max-width: 16ch;
  }

  .two-up,
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }

  .trust-pill,
  .step-chip,
  .status-badge {
    justify-self: start;
  }

  .form-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .summary-list div {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-list dd {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .site-shell {
    width: min(calc(100% - 0.8rem), var(--max-width));
  }

  .card,
  .booking-panel,
  .availability-panel,
  .summary-panel {
    border-radius: 22px;
  }

  .hero-panel,
  .booking-panel,
  .availability-panel,
  .summary-panel {
    padding: 1rem;
  }

  .field-group {
    padding: 0.8rem;
  }

  input,
  select,
  textarea {
    padding: 0.88rem 0.92rem;
  }

  .room-card {
    padding: 0.85rem;
  }

  .toast-region {
    right: 0.5rem;
    left: 0.5rem;
    width: auto;
  }
}

.test-mode-banner {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.55rem 1rem;
  background: #8a3418;
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.policy-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.policy-consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--gold);
}

.policy-consent a,
.policy-page a { color: var(--gold); }

.policy-page {
  width: min(760px, calc(100% - 2rem));
  margin: 3rem auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.policy-list > div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.policy-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.policy-list dd { margin: 0.35rem 0 0; line-height: 1.65; }
.policy-warning { padding: 1rem; border: 1px solid #c9784f; border-radius: 12px; background: rgba(138, 52, 24, 0.2); }

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

@media (forced-colors: active) {
  .card,
  .hero-highlights article,
  .status-region,
  .availability-summary,
  .room-card,
  .receipt-panel,
  .feature-card {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }

  .primary-btn,
  .secondary-btn,
  .room-select {
    border: 1px solid CanvasText;
  }
}
