@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');
@import url("noe-pixel.css");

/* ===== Base ===== */
:root {
  --color-bg: #faf8f5;
  --color-dark: #444444;
  --color-accent: #8f6bb3;
  --color-accent-banner: #ededed;
  --color-muted: #6f6a63;
  --color-border: #e4ded4;
  --color-surface: #7b5aa0;
  --color-surface-alt: #e4e4e4;
  --color-input: #fff;
  --max-width: 1100px;
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.add-padding-top {
  padding-top: 86px;
}

.add-padding-bottom {
  padding-bottom: 130px;
}

.reduce-top-padding {
  padding-top: 40px;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ===== Cursor follower ===== */
.cursor-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  backdrop-filter: invert(1) grayscale(1) contrast(10);
  -webkit-backdrop-filter: invert(1) grayscale(1) contrast(10);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out, opacity 0.25s ease;
  opacity: 0;
}

.cursor-circle.is-hover {
  transform: translate(-50%, -50%) scale(2.2);
}

body.cursor-ready .cursor-circle {
  opacity: 1;
}

body.cursor-ready,
body.cursor-ready * {
  cursor: none !important;
}

/* show the real cursor while the date-range picker is open */
body.cursor-ready.datepicker-open,
body.cursor-ready.datepicker-open * {
  cursor: auto !important;
}

body.datepicker-open .cursor-circle {
  opacity: 0 !important;
}

body.dark-mode .cursor-circle {
  backdrop-filter: invert(1) grayscale(1) contrast(1);
  -webkit-backdrop-filter: invert(1) grayscale(1) contrast(1);
}

@media (hover: none), (pointer: coarse) {
  .cursor-circle {
    display: none;
  }
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Prompt", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4 {
  font-weight: 400;
  letter-spacing: 0.5px;
}

h1 {
  line-height: 1.2em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: block;
}

.hero .eyebrow {
  color: var(--color-accent-banner);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-muted);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--color-dark);
  border-radius: var(--radius);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: var(--color-dark);
  color: var(--color-bg);
}

.btn-primary {
  background: var(--color-dark);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  margin-bottom: -40px;
  border-bottom: 0;
}

.move-up {
  margin-top: -38px;
}

.nav {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 5fr 4fr;
  justify-items: flex-end;
  padding: 20px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
}

.nav-links a.active,
.nav-links a:hover {
  border-bottom: 3px solid var(--color-dark);
}

.nav-links a:active {
  font-weight: 800;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
}

.nav-close {
  display: none;
}

.nav-book {
  border: 1px solid var(--color-dark);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.nav-book:hover {
  background: var(--color-dark);
  color: var(--color-bg);
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  border: none;
  border-radius: var(--radius);
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  color: var(--color-dark);
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

.theme-toggle-icon {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
}

.theme-toggle-icon svg {
  width: 100%;
  height: 100%;
}

.theme-toggle-moon {
  display: none;
}

body.dark-mode .theme-toggle-sun {
  display: none;
}

body.dark-mode .theme-toggle-moon {
  display: grid;
}

.theme-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.language-switcher {
  display: inline-flex;
}

.language-select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 9px 28px 9px 10px;
  background: var(--color-bg);
  color: var(--color-dark);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.language-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(143, 107, 179, 0.15);
}

/* ===== Custom select (replaces native <select> UI) ===== */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
  color: var(--color-dark);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
}

.custom-select-trigger:focus-visible {
  outline: none;
  border-color: rgba(143, 107, 179, 0.8);
  box-shadow: 0 0 0 4px rgba(143, 107, 179, 0.12);
}

.custom-select-arrow {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.custom-select-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  max-height: 240px;
  overflow-y: auto;
  display: none;
}

.custom-select.open .custom-select-list {
  display: block;
}

.custom-select-option {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--color-dark);
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option.active {
  background: rgba(143, 107, 179, 0.12);
  border-radius: var(--radius);
}

.custom-select-option.selected {
  font-weight: 600;
  color: var(--color-accent);
}

.language-switcher .custom-select {
  width: auto;
}

.language-switcher .custom-select-trigger {
  padding: 9px 10px;
  font-size: 0.78rem;
  min-width: 92px;
}

.language-switcher .custom-select-list {
  min-width: 100%;
}

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

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, rgb(112, 76, 151), rgb(164, 118, 197)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Crect width='800' height='600' fill='%23444037'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  /* bottom curve depth follows the golden ratio (62px / 38px ≈ φ) */
  border-radius: 0 0 50% 50% / 0 0 62px 62px;
  animation: fluid-curve 10s ease-in-out infinite;
}

.home-page .hero {
  background-image: linear-gradient(180deg, rgba(68, 22, 104, 0.94), rgba(34, 8, 63, 0.94)),
    linear-gradient(180deg, rgb(112, 76, 151), rgb(164, 118, 197)),
    url("../img/home-banner.jpg");
  position: relative;
  overflow: hidden;
}

.home-page .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("../img/home-banner.jpg") center / cover no-repeat;
  filter: brightness(1);
  -webkit-mask-image: radial-gradient(circle 300px at var(--spotlight-x, -300px) var(--spotlight-y, -300px), #000 0, transparent 100%);
  mask-image: radial-gradient(circle 300px at var(--spotlight-x, -300px) var(--spotlight-y, -300px), #000 0, transparent 100%);
}

.home-page .hero-inner {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.home-page .hero.is-spotlighted .hero-inner {
  filter: url("#hero-fluid");
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero.is-spotlighted .hero-inner {
    filter: none;
  }

  .hero,
  .page-hero {
    animation: none;
  }
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn {
  border-color: #fff;
  color: #fff;
}

.hero .btn:hover {
  background: #fff;
  color: var(--color-dark);
}

.page-hero {
  min-height: 40vh;
  background-image: linear-gradient(180deg, rgba(68, 22, 104, 0.94), rgba(34, 8, 63, 0.94)),
    linear-gradient(180deg, rgb(112, 76, 151), rgb(164, 118, 197));
  position: relative;
  overflow: hidden;
  /* shorter banner, so the curve depth scales down by the same golden ratio */
  border-radius: 0 0 50% 50% / 0 0 38px 38px;
  animation: fluid-curve-short 10s ease-in-out infinite;
}

/* undulating bottom edge, like fluid drifting in zero gravity */
@keyframes fluid-curve {
  0%, 100% { border-radius: 0 0 50% 50% / 0 0 62px 62px; }
  25%      { border-radius: 0 0 58% 42% / 0 0 74px 50px; }
  50%      { border-radius: 0 0 42% 58% / 0 0 50px 74px; }
  75%      { border-radius: 0 0 52% 48% / 0 0 68px 56px; }
}

@keyframes fluid-curve-short {
  0%, 100% { border-radius: 0 0 50% 50% / 0 0 38px 38px; }
  25%      { border-radius: 0 0 58% 42% / 0 0 46px 30px; }
  50%      { border-radius: 0 0 42% 58% / 0 0 30px 46px; }
  75%      { border-radius: 0 0 52% 48% / 0 0 42px 34px; }
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 320px at var(--spotlight-x, -300px) var(--spotlight-y, -300px), rgba(255, 255, 255, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-hero.is-spotlighted::after {
  opacity: 1;
}

.page-hero .hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.2rem;
}

/* ===== Booking widget ===== */
.booking-widget {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin: -60px auto 0;
  max-width: var(--max-width);
  position: relative;
  z-index: 5;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.booking-widget .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-widget label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-muted);
}

.booking-widget input,
.booking-widget select,
.field input,
.field select,
.field textarea {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--color-dark);
}

.booking-widget .btn {
  height: fit-content;
}

.field-daterange {
  position: relative;
}

.date-range-input {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.date-range-picker {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow-y: auto;
  padding: 32px;
  background: var(--color-bg);
  color: var(--color-dark);
}

.date-range-picker[hidden] {
  display: none;
}

.date-picker-header {
  display: grid;
  grid-template-columns: 40px 40px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  width: min(680px, 100%);
}

.date-picker-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: transparent;
  color: var(--color-dark);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.date-picker-nav:hover,
.date-picker-nav:focus-visible {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  outline: none;
}

.date-picker-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(680px, 100%);
}

.date-picker-month + .date-picker-month {
  border-left: 1px solid var(--color-border);
  padding-left: 18px;
}

.date-picker-month h3 {
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.date-picker-weekdays,
.date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.date-picker-weekdays {
  margin-bottom: 4px;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
}

.date-picker-day {
  display: grid;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
}

.date-picker-day:hover,
.date-picker-day:focus-visible {
  background: var(--color-accent-banner);
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
}

.date-picker-day.is-today {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.date-picker-day.is-in-range {
  background: var(--color-accent-banner);
}

.date-picker-day.is-range-start,
.date-picker-day.is-range-end {
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
}

.date-picker-day.is-disabled {
  color: var(--color-border);
  cursor: not-allowed;
}

.date-picker-day.is-disabled:hover,
.date-picker-day.is-disabled:focus-visible {
  background: transparent;
  outline: none;
}

@media (max-width: 700px) {
  .date-range-picker {
    align-content: start;
    padding: 24px 16px;
  }

  .date-picker-months {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .date-picker-month + .date-picker-month {
    display: none;
  }
}

.form-message {
  margin-top: 16px;
  font-size: 0.9rem;
  display: none;
}

.form-message.show {
  display: block;
}

.form-message.success {
  color: #2f6f3e;
}

.form-message.error {
  color: #a33a3a;
}

/* ===== Intro / About ===== */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-image {
  background: linear-gradient(135deg, #d9cfe2, #a477c5);
  border-radius: var(--radius);
  min-height: 320px;
}

.stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}

.stats div {
  text-align: left;
}

.stats strong {
  font-size: 1.8rem;
  display: block;
  color: var(--color-accent);
}

.stats span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ===== Rooms Grid ===== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.room-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.room-image {
  height: 200px;
  background: linear-gradient(135deg, #bebebe, #a477c5);
}

.room-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.room-body h3 {
  font-size: 1.2rem;
}

.room-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.room-price {
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-top: auto;
}

.room-price span {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-transform: none;
}

.room-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

.room-detail:last-child {
  border-bottom: none;
}

.room-detail .room-image {
  height: 100%;
  min-height: 280px;
}

.amenity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* ===== Amenities Grid ===== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.amenity-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
}

.amenity-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.85;
}

.amenity-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.amenity-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid div {
  height: 160px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #949494, #a477c5);
}

.gallery-grid div:nth-child(3n) {
  background: linear-gradient(135deg, #b9b9b9, #6f6a63);
}

.gallery-grid div:nth-child(4n) {
  background: linear-gradient(135deg, #585858, #8f6bb3);
}

/* ===== Testimonials ===== */
.testimonials {
  background: #e4e4e4;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.testimonial-card .stars {
  color: var(--color-accent);
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.testimonial-card h4 {
  font-size: 0.95rem;
}

.testimonial-card span {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-categories {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.faq-filter {
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fff;
  cursor: pointer;
}

.faq-filter.active {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  cursor: pointer;
  color: var(--color-dark);
  font-family: inherit;
}

.faq-question .icon {
  font-size: 2rem;
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.faq-answer p {
  padding-bottom: 20px;
}

.faq-search {
  max-width: 500px;
  margin: 0 auto 32px;
}

.faq-search input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
}

.faq-empty {
  text-align: center;
  color: var(--color-muted);
  display: none;
  padding: 20px 0;
}

/* ===== Contact ===== */
.contact-section {
  padding-top: 80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.contact-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(28, 28, 26, 0.04);
}

.panel-header {
  margin-bottom: 12px;
}

.panel-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-top: 6px;
}

.panel-copy {
  color: var(--color-muted);
  margin-bottom: 24px;
}

.contact-info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ececec;
}

.info-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(143, 107, 179, 0.12);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-list h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-info-list p {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 14px;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--color-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #958e86;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(143, 107, 179, 0.8);
  box-shadow: 0 0 0 4px rgba(143, 107, 179, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: -4px;
}

.map-block {
  height: 260px;
  margin-top: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e4dced, #a477c5);
  border: 1px solid var(--color-border);
}

/* ===== CTA ===== */
.cta {
  background: var(--color-dark);
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-size: 1.9rem;
  margin-bottom: 16px;
}

.cta p {
  color: #cfc8bd;
  margin-bottom: 28px;
}

.cta .btn {
  border-color: #fff;
  color: #fff;
}

.cta .btn:hover {
  background: #fff;
  color: var(--color-dark);
}

/* ===== Newsletter ===== */
.newsletter {
  background: #e4e4e4;
  text-align: center;
  padding-bottom: 110px;
}

.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 24px auto 0;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  background: #16150f;
  color: #cfc8bd;
  padding: 80px 0 24px;
  margin-top: -50px;
  overflow: hidden;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -52px;
  width: 140%;
  height: 120px;
  transform: translateX(-50%);
  background: inherit;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-grid ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-grid ul li a:hover {
  color: var(--color-accent);
}

.footer-logo {
  font-size: 1.3rem;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid #4a463c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5efe8;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-links a svg {
  width: 16px;
  height: 16px;
  display: block;
}

.social-links a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #111;
}

.footer-bottom {
  border-top: 1px solid #322f27;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .booking-widget {
    grid-template-columns: 1fr 1fr;
    margin-top: -60px;
  }

  .home-page > .container:has(#booking) + section {
    padding-top: 48px;
  }

  #standard-room + #rooms {
    padding-top: 32px;
  }

  .intro,
  .contact-layout,
  .room-detail {
    grid-template-columns: 1fr;
  }

  .rooms-grid,
  .amenities-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (min-width: 801px) {
  .logo {
    position: relative;
    left: -32px;
  }
  .nav-links-container  {
    min-width: 510px;
  }
}

@media (max-width: 800px) {
  .nav {
    grid-template-columns: auto 1fr auto auto;
    justify-items: end;
    padding: 16px 24px;
  }

  .header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    display: none;
    gap: 16px;
  }

  .nav-links.open {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    padding: 24px;
    font-size: 1.4rem;
    gap: 32px;
    border-bottom: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: flex;
    margin-left: 12px;
  }

  body.nav-open .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 200;
    width: 40px;
    height: 40px;
    font-size: 2rem;
    line-height: 1;
    background: none;
    border: none;
    color: var(--color-dark);
    cursor: pointer;
  }

  .theme-toggle {
    margin-left: auto;
    margin-right: 8px;
  }

  .language-switcher .custom-select-trigger {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 92px;
  }

  .nav-book {
    display: none;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  #booking {
    width: calc(100vw - 48px);
    margin-left: calc(50% - 50vw + 24px);
  }

  .rooms-grid,
  .amenities-grid,
  .testimonial-grid,
  .gallery-grid,
  .form-row,
  .contact-info-list {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding-top: 48px;
  }

  .contact-layout {
    gap: 24px;
  }

  .contact-panel {
    padding: 24px;
  }

  .map-block {
    height: 220px;
    margin-top: 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Dark theme ===== */
body.dark-mode {
  --color-bg: #1c1c1a;
  --color-dark: #f5f1ea;
  --color-muted: #b6afa5;
  --color-border: #464139;
  --color-surface: #292722;
  --color-surface-alt: #25231f;
  --color-input: #302e29;
}

body.dark-mode .booking-widget,
body.dark-mode .room-card,
body.dark-mode .amenity-card,
body.dark-mode .testimonial-card,
body.dark-mode .contact-panel {
  background: var(--color-surface);
}

body.dark-mode .testimonials,
body.dark-mode .newsletter {
  background: var(--color-surface-alt);
}

body.dark-mode .booking-widget input,
body.dark-mode .booking-widget select,
body.dark-mode .field input,
body.dark-mode .field select,
body.dark-mode .field textarea,
body.dark-mode .faq-search input,
body.dark-mode .newsletter-form input,
body.dark-mode .faq-filter,
body.dark-mode .cta {
  background: var(--color-input);
  color: var(--color-dark);
}

body.dark-mode .date-range-picker {
  background: var(--color-surface);
  color: var(--color-dark);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

body.dark-mode .date-picker-day.is-in-range,
body.dark-mode .date-picker-day:hover,
body.dark-mode .date-picker-day:focus-visible {
  background: #464139;
}

body.dark-mode .date-picker-day.is-range-start,
body.dark-mode .date-picker-day.is-range-end,
body.dark-mode .date-picker-nav:hover,
body.dark-mode .date-picker-nav:focus-visible {
  background: var(--color-accent);
  color: #fff;
}


body.dark-mode .cta .btn:hover {
  background: var(--color-dark);
  color: var(--color-input);
}

body.dark-mode .btn-primary {
  background: var(--color-input);
  color: var(--color-dark);
}

body.dark-mode .btn-primary:hover {
  background: var(--color-dark);
  color: var(--color-input);
}

body.dark-mode .custom-select-trigger,
body.dark-mode .custom-select-list {
  background: var(--color-input);
  color: var(--color-dark);
  border-color: var(--color-border);
}

body.dark-mode .custom-select-option:hover,
body.dark-mode .custom-select-option.active {
  background: rgba(143, 107, 179, 0.2);
}

body.dark-mode .contact-info-item {
  background: #302e29;
}

body.dark-mode .site-footer {
  background: #11110f;
}

.short-banner .hero p { 
  margin-bottom: 0
}
