:root {
  --site-bg: #050505;
  --site-surface: rgba(17, 17, 18, 0.92);
  --site-surface-strong: rgba(28, 23, 22, 0.98);
  --site-border: rgba(214, 173, 106, 0.16);
  --site-border-soft: rgba(214, 173, 106, 0.1);
  --site-gold: #d6ad6a;
  --site-gold-soft: #f4dfb6;
  --site-text: #f7ead1;
  --site-muted: rgba(247, 234, 209, 0.72);
  --site-shadow: 0 32px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.public-site {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--site-text);
  background:
    radial-gradient(circle at top, rgba(112, 16, 23, 0.2), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(214, 173, 106, 0.08), transparent 16%),
    var(--site-bg);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: calc(env(safe-area-inset-top) + 16px) 20px 14px;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.66));
}

.site-header-shell,
.site-main,
.site-footer {
  width: min(1160px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(112, 16, 23, 0.96), rgba(75, 11, 14, 0.96));
  border: 1px solid rgba(244, 223, 182, 0.16);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-brand-copy {
  display: grid;
  gap: 2px;
}

.site-brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.site-brand-eyebrow,
.eyebrow {
  color: var(--site-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav-link {
  color: var(--site-muted);
  padding: 8px 0;
}

.site-nav-link.active,
.site-nav-link:hover,
.site-nav-link:focus-visible {
  color: var(--site-gold-soft);
}

.site-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.locale-switcher {
  display: inline-flex;
  gap: 8px;
}

.locale-pill,
.utility-link,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.locale-pill {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--site-border-soft);
  color: var(--site-muted);
}

.locale-pill.active {
  color: #111;
  background: var(--site-gold-soft);
  border-color: rgba(244, 223, 182, 0.4);
}

.utility-link,
.secondary-cta {
  border: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--site-gold-soft);
}

.primary-cta {
  background: linear-gradient(180deg, rgba(124, 18, 24, 0.98), rgba(77, 10, 14, 1));
  border: 1px solid rgba(244, 223, 182, 0.14);
  color: var(--site-gold-soft);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.primary-cta:hover,
.secondary-cta:hover,
.utility-link:hover,
.locale-pill:hover {
  transform: translateY(-1px);
}

.site-main {
  padding: 32px 0 96px;
}

.hero-section {
  padding: 56px 0 32px;
}

.compact-hero {
  padding-top: 36px;
}

.hero-shell,
.content-section {
  border: 1px solid var(--site-border);
  background:
    radial-gradient(circle at top left, rgba(214, 173, 106, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(12, 12, 13, 0.96), rgba(9, 9, 10, 0.96));
  box-shadow: var(--site-shadow);
}

.hero-shell {
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
}

.hero-shell h1,
.section-head h2,
.final-cta-section h2,
.legal-block h2 {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.hero-shell h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: 12ch;
}

.hero-copy,
.section-head p,
.info-card p,
.benefit-list li,
.site-footer p,
.site-footer-meta,
.legal-block p {
  color: var(--site-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-copy {
  max-width: 720px;
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.content-section {
  margin-top: 24px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 30px;
}

.stays-hero-shell {
  display: grid;
  gap: 18px;
}

.hero-section.has-search-results {
  padding-top: 18px;
  padding-bottom: 18px;
}

.stays-hero-shell-results {
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
}

.stays-hero-shell-results h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  max-width: 14ch;
}

.stays-hero-shell-results .hero-copy {
  margin-top: 6px;
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.stays-search-form {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 0.8fr)) auto;
  gap: 14px;
  align-items: end;
  margin-top: 10px;
}

.stays-field {
  display: grid;
  gap: 8px;
}

.stays-field span {
  color: var(--site-muted);
  font-size: 0.84rem;
}

.stays-field input {
  min-height: 54px;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--site-text);
  padding: 0 16px;
  font: inherit;
}

.stays-field input:focus-visible {
  outline: 2px solid rgba(214, 173, 106, 0.6);
  outline-offset: 2px;
}

.stays-field input::-webkit-calendar-picker-indicator {
  filter: invert(0.88);
}

.stays-submit {
  min-width: 168px;
}

.stays-search-hint {
  margin: 0;
  color: var(--site-muted);
  max-width: 880px;
  line-height: 1.65;
  font-size: 0.95rem;
}

.stays-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.stays-inline-feedback {
  display: grid;
  gap: 6px;
  margin: 24px 0 0;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(214, 173, 106, 0.18);
  background: rgba(112, 16, 23, 0.18);
}

.stays-inline-feedback strong {
  color: var(--site-gold-soft);
}

.stays-inline-feedback span {
  color: var(--site-text);
}

.stay-card {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--site-border);
  background:
    linear-gradient(180deg, rgba(16, 16, 17, 0.96), rgba(10, 10, 11, 0.98)),
    var(--site-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.stay-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.02);
}

.stay-card-media img,
.stay-card-media-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

.stay-card-media img {
  object-fit: cover;
}

.stay-card-media-fallback {
  position: absolute;
  inset: 0;
  display: none;
  background:
    radial-gradient(circle at top left, rgba(214, 173, 106, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(112, 16, 23, 0.16), rgba(255, 255, 255, 0.02));
  padding: 18px;
  align-content: end;
}

.stay-card-media-fallback span,
.stay-card-media-fallback small {
  display: block;
}

.stay-card-media-fallback span {
  color: var(--site-gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
}

.stay-card-media-fallback small {
  margin-top: 8px;
  color: var(--site-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.stay-card-media.image-missing .stay-card-media-fallback {
  display: grid;
}

.stay-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.stay-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.stay-card-body h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.stay-card-headline,
.stay-card-location,
.stay-card-price span,
.stays-state-panel p {
  margin: 0;
  color: var(--site-muted);
}

.stay-card-headline {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stay-relevance {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stay-relevance-exact {
  background: rgba(214, 173, 106, 0.18);
  border: 1px solid rgba(214, 173, 106, 0.22);
  color: var(--site-gold-soft);
}

.stay-relevance-in-destination {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--site-border-soft);
  color: var(--site-text);
}

.stay-relevance-nearby {
  background: rgba(98, 77, 45, 0.24);
  border: 1px solid rgba(214, 173, 106, 0.16);
  color: rgba(244, 223, 182, 0.92);
}

.stay-card-location {
  line-height: 1.65;
}

.stay-card-meta {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.stay-card-meta li {
  color: var(--site-text);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}

.stay-card-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(214, 173, 106, 0.9);
}

.stay-card-price {
  display: grid;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--site-border-soft);
}

.stay-card-price strong {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.stay-card-action {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--site-border-soft);
}

.stay-card-select {
  width: 100%;
}

.stay-card-action-hint,
.stay-card-error {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.stay-card-action-hint {
  color: var(--site-muted);
}

.stay-card-error {
  color: #ffd6d0;
}

.stays-state-panel {
  display: grid;
  gap: 14px;
}

.stays-state-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
}

.checkout-stack,
.checkout-summary-grid {
  display: grid;
  gap: 18px;
}

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

.checkout-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.02);
}

.checkout-panel h2,
.checkout-panel h3 {
  margin: 0;
}

.checkout-panel h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.checkout-panel h3 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--site-gold-soft);
}

.checkout-panel p,
.checkout-panel li {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.65;
}

.checkout-panel strong {
  color: var(--site-text);
}

.checkout-meta {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checkout-meta li {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--site-border-soft);
}

.checkout-meta li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.checkout-value {
  color: var(--site-text);
}

.checkout-price-highlight {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(214, 173, 106, 0.08);
  border: 1px solid rgba(214, 173, 106, 0.14);
}

.checkout-price-highlight strong {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.checkout-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-status-ready {
  background: rgba(214, 173, 106, 0.18);
  border: 1px solid rgba(214, 173, 106, 0.22);
  color: var(--site-gold-soft);
}

.checkout-status-pending {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--site-border-soft);
  color: var(--site-text);
}

.checkout-saved-banner {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(214, 173, 106, 0.2);
  background: rgba(214, 173, 106, 0.08);
  color: var(--site-text);
}

.checkout-form {
  display: grid;
  gap: 22px;
}

.checkout-form-section {
  display: grid;
  gap: 14px;
}

.traveler-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.traveler-form-grid label {
  display: grid;
  gap: 8px;
}

.traveler-form-grid span {
  color: var(--site-muted);
  font-size: 0.84rem;
}

.traveler-form-grid input {
  min-height: 54px;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--site-text);
  padding: 0 16px;
  font: inherit;
}

.traveler-form-grid input:focus-visible {
  outline: 2px solid rgba(214, 173, 106, 0.6);
  outline-offset: 2px;
}

.guest-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--site-border-soft);
  background: rgba(255, 255, 255, 0.02);
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 980px) {
  .stays-search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stays-submit {
    width: 100%;
  }

  .checkout-grid,
  .checkout-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .stays-search-form {
    grid-template-columns: 1fr;
  }

  .stay-card-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .stay-card-body h3 {
    font-size: 1.8rem;
  }

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

.content-section-accent {
  border-color: rgba(214, 173, 106, 0.24);
}

.section-head {
  max-width: 760px;
}

.section-head h2,
.final-cta-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.benefit-list {
  margin: 20px 0 0;
  padding-left: 18px;
}

.benefit-list li + li {
  margin-top: 10px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.info-card,
.legal-block {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--site-border-soft);
  background: rgba(255, 255, 255, 0.02);
}

.info-card h3,
.legal-block h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.final-cta-section {
  text-align: center;
}

.site-footer {
  padding-bottom: calc(56px + env(safe-area-inset-bottom));
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--site-border);
  background: rgba(255, 255, 255, 0.02);
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--site-gold-soft);
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  color: var(--site-muted);
}

.site-footer a + a {
  margin-top: 8px;
}

.site-footer-meta {
  margin: 16px 0 0;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header-shell {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-tools {
    flex-wrap: wrap;
  }

  .card-grid,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header-shell,
  .site-main,
  .site-footer {
    width: min(100vw - 32px, 100%);
  }

  .hero-shell,
  .content-section,
  .site-footer-grid {
    border-radius: 24px;
  }

  .hero-shell h1 {
    max-width: none;
  }

  .hero-actions,
  .site-tools {
    width: 100%;
  }

  .primary-cta,
  .secondary-cta,
  .utility-link {
    width: 100%;
  }
}
