/* =========================================
   CJ STAYS — LUXURY REDESIGN
   Inspired by Solaire Resort & Mandarin Oriental
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
  --reich-gold: #c9a84c;
  --gold-bright: #d4af37;
  --gold-muted: #9e7d2e;
  --cj-black: #0c0c0c;
  --cj-dark: #141414;
  --cj-charcoal: #1c1c1a;
  --ivory: #f5f0e8;
  --ivory-dark: #e8e0d0;
  --stone: #7a756e;
  --stone-light: #a09b92;
  --text-light: #f0ebe0;
  --text-grey: #7a756e;
  /* Portal Specific Variables */
  --theme-color: var(--reich-gold);
  --danger: #c0392b;
  --success: #27ae60;
  --locked: #3a3a38;
  --unlocked: var(--reich-gold);
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cj-black);
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.65;
}

/* =========================================
   2. NAVIGATION
   ========================================= */
nav,
header {
  background: transparent;
  padding: 28px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 18px 5%;
}

.logo {
  color: var(--reich-gold);
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(240, 235, 224, 0.85);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--reich-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--reich-gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* VIP Button */
.btn-vip {
  background: transparent !important;
  color: var(--reich-gold) !important;
  padding: 9px 22px !important;
  border: 1px solid var(--reich-gold) !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.18em !important;
  transition: var(--transition) !important;
}

.btn-vip:hover {
  background: var(--reich-gold) !important;
  color: var(--cj-black) !important;
}

.btn-vip::after {
  display: none !important;
}

/* =========================================
   3. FOOTER — Luxury (Mandarin Oriental Style)
   ========================================= */
.footer-luxury {
  background: var(--cj-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  font-family: var(--font-body);
  color: var(--stone);
}

/* Top strip */
.footer-top {
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  padding: 60px 7% 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.footer-brand-tagline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo-text {
  font-family: var(--font-display);
  color: var(--reich-gold);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  text-decoration: none;
  transition: var(--transition);
}
.footer-logo-text:hover { opacity: 0.8; }

.footer-divider-line {
  width: 40px;
  height: 1px;
  background: var(--reich-gold);
  opacity: 0.5;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--stone-light);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.footer-newsletter-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-newsletter-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--reich-gold);
}

.footer-newsletter-desc {
  font-size: 0.82rem;
  color: var(--stone-light);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  border: 1px solid rgba(201, 168, 76, 0.35);
  margin-top: 4px;
  transition: border-color 0.3s ease;
}
.footer-newsletter-form:focus-within { border-color: var(--reich-gold); }

.footer-newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}
.footer-newsletter-form input::placeholder {
  color: var(--stone);
  letter-spacing: 0.06em;
}

.footer-newsletter-form button {
  background: var(--reich-gold);
  color: var(--cj-black);
  border: none;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}
.footer-newsletter-form button:hover { background: var(--gold-bright); }

/* Column links */
.footer-columns {
  padding: 56px 7% 52px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-col-heading {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--reich-gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-col-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201, 168, 76, 0.2);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col ul li a {
  color: var(--stone-light);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}
.footer-col ul li a:hover {
  color: var(--reich-gold);
  padding-left: 5px;
}

/* Social row */
.footer-social-row {
  padding: 36px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-social-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social-icons a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-light);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
.footer-social-icons a:hover {
  border-color: var(--reich-gold);
  color: var(--reich-gold);
  background: rgba(201, 168, 76, 0.08);
}

.footer-awards {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-award-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer-award-badge .badge-icon {
  font-size: 1.3rem;
  color: var(--reich-gold);
  opacity: 0.7;
}
.footer-award-badge span {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: center;
  line-height: 1.3;
}

/* Contact row */
.footer-contact-row {
  padding: 28px 7%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  flex-wrap: wrap;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--stone-light);
  letter-spacing: 0.06em;
  padding: 8px 28px;
}
.footer-contact-item i {
  color: var(--reich-gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.footer-contact-item a {
  color: var(--stone-light);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-contact-item a:hover { color: var(--reich-gold); }
.footer-contact-divider {
  width: 1px;
  height: 20px;
  background: rgba(201, 168, 76, 0.2);
  flex-shrink: 0;
}

/* Legal bar */
.footer-legal {
  padding: 28px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.72rem;
  color: var(--stone);
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.footer-copyright em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--reich-gold);
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 0.7rem;
  color: var(--stone);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.footer-legal-links a:hover { color: var(--reich-gold); }
.footer-legal-links .dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.35);
  display: inline-block;
}

/* =========================================
   4. MODALS
   ========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  background: var(--ivory);
  width: 90%;
  max-width: 440px;
  padding: 50px 40px;
  border-radius: 0;
  text-align: center;
  border: 1px solid var(--reich-gold);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-content.dark {
  background: var(--cj-charcoal);
  color: var(--text-light);
}

@keyframes modalSlideIn {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-content i {
  font-size: 2.5rem;
  color: var(--reich-gold);
  margin-bottom: 20px;
}

.modal-content h2 {
  font-family: var(--font-display);
  color: var(--cj-black);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: none;
}

.modal-content.dark h2 {
  color: var(--reich-gold);
}

.modal-content p {
  color: var(--stone);
  margin-bottom: 30px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.modal-content.dark p {
  color: var(--stone-light);
}

.btn-close-modal {
  background: var(--cj-black);
  color: var(--reich-gold);
  padding: 14px 36px;
  border: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  cursor: pointer;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-close-modal:hover {
  background: var(--reich-gold);
  color: var(--cj-black);
}

/* Map Modal — full-width map, no sidebar */
.map-modal-content {
  width: 95%;
  max-width: 1400px;
  max-height: 92vh;
  background: #141414;
  border: 1px solid rgba(201, 168, 76, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Header bar */
.map-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px 18px;
  background: #0c0c0c;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  flex-shrink: 0;
}

.map-modal-header-inner {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.map-modal-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #c9a84c;
  opacity: 0.85;
}

.map-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 300;
  font-style: italic;
  color: #f5f0e8;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.2;
}

/* Body: map only, full width */
.map-modal-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Map pane — full width */
.map-modal-map-wrap {
  position: relative;
  flex: 1;
  min-height: 540px;
}

/* Close button */
.map-modal-close-btn {
  background: rgba(12, 12, 12, 0.85);
  color: #f5f0e8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1.5rem;
  font-weight: 300;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.map-modal-close-btn:hover {
  background: var(--reich-gold);
  color: var(--cj-black);
  border-color: var(--reich-gold);
}

/* Mobile */
@media (max-width: 767px) {
  .map-modal-content {
    width: 99vw;
    max-height: 94vh;
  }

  .map-modal-map-wrap {
    min-height: 400px;
  }

  .map-modal-header {
    padding: 16px 20px 14px;
  }
}

/* =========================================
   5. HERO / SWIPER SECTION
   ========================================= */
.hero {
  height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('images/hero-bg.jpg') center/cover;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  margin-bottom: 12px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.hero-badge {
  color: var(--reich-gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 168, 76, 0.6);
  padding: 8px 24px;
  background: rgba(0, 0, 0, 0.4);
  display: inline-block;
  backdrop-filter: blur(4px);
}

/* Promo swiper text */
.swiper-slide h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
}

/* =========================================
   6. SEARCH WIDGET
   ========================================= */
.luxury-search-card {
  max-width: 1100px;
  width: 95%;
  margin: -100px auto 60px;
  z-index: 20;
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.15);
  overflow: hidden;
}

.search-tabs {
  display: flex;
  background: #ede8df;
  border-bottom: 1px solid #ddd;
}

.search-tab {
  padding: 18px 36px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--stone);
  cursor: pointer;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.search-tab.active {
  background: white;
  color: var(--cj-black);
  border-bottom: 2px solid var(--reich-gold);
}

.search-pill {
  display: flex;
  align-items: center;
  padding: 30px 35px;
  gap: 0;
  flex-wrap: wrap;
}

.search-segment {
  flex: 1;
  min-width: 220px;
  border-right: 1px solid #e0dbd2;
  padding: 0 28px 0 0;
  margin-right: 28px;
}

.search-segment:last-of-type {
  border-right: none;
}

.search-segment label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.search-segment label i {
  color: var(--reich-gold);
  margin-right: 6px;
}

.search-input {
  width: 100%;
  border: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: #1a1a18;
  outline: none;
  background: transparent;
  cursor: pointer;
}

.search-input::placeholder {
  color: #bbb8b2;
  font-style: italic;
}

.btn-search {
  background: var(--cj-black);
  color: var(--reich-gold);
  border: none;
  padding: 18px 42px;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-search:disabled {
  background: #ccc;
  color: #999;
  cursor: not-allowed;
}

.btn-search:hover:not(:disabled) {
  background: var(--reich-gold);
  color: var(--cj-black);
}

.benefit-bar {
  background: #f8f4ee;
  border-top: 1px solid #e8e2d8;
  display: flex;
  justify-content: space-around;
  padding: 18px 35px;
  flex-wrap: wrap;
  gap: 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--stone);
  text-transform: uppercase;
}

.benefit-item i {
  color: var(--reich-gold);
  font-size: 1rem;
}

/* Guest Counter */
.guest-counter {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.counter-btn {
  background: transparent;
  border: 1px solid #ccc;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 400;
  cursor: pointer;
  color: var(--cj-black);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.counter-btn:hover:not(:disabled) {
  background: var(--reich-gold);
  border-color: var(--reich-gold);
  color: white;
}

.counter-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

#guest-count-display {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  user-select: none;
  color: var(--cj-black);
  min-width: 80px;
  text-align: center;
}

/* Extended Stay Form */
.search-pill.vertical {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 28px 35px;
}

.extended-stay-intro {
  color: var(--stone);
  font-size: 0.88rem;
  line-height: 1.7;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 8px auto;
  font-style: italic;
}

.extended-stay-form {
  max-width: 550px;
  margin: 0 auto;
  text-align: left;
}

.extended-stay-form .form-group {
  position: relative;
  margin-bottom: 14px;
}

.extended-stay-form .form-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.extended-stay-form input:focus ~ .form-icon,
.extended-stay-form textarea:focus ~ .form-icon {
  color: var(--reich-gold);
}

.extended-stay-form .form-group-textarea .form-icon {
  top: 18px;
  transform: none;
}

.extended-stay-form input,
.extended-stay-form textarea {
  width: 100%;
  padding: 13px 13px 13px 44px;
  background-color: #f8f4ee;
  border: 1px solid #e8e2d8;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: all 0.3s ease;
  color: #1a1a18;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
}

.extended-stay-form input:focus,
.extended-stay-form textarea:focus {
  outline: none;
  background-color: white;
  border-bottom-color: var(--reich-gold);
}

.extended-stay-form textarea {
  padding-top: 14px;
  resize: vertical;
  min-height: 90px;
}

.extended-stay-form .btn-search {
  width: 100%;
  margin-top: 8px;
}

/* =========================================
   7. FEATURES SECTION
   ========================================= */
.features {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 100px 8%;
  background: var(--ivory);
  color: var(--cj-black);
  text-align: center;
}

.feature-item {
  flex: 1;
  padding: 0 50px;
  border-right: 1px solid #d8d0c0;
  position: relative;
}

.feature-item:last-child {
  border-right: none;
}

.feature-item i {
  font-size: 1.8rem;
  color: var(--reich-gold);
  margin-bottom: 24px;
  display: block;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cj-black);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.feature-item p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--stone);
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

/* =========================================
   8. VIP AD SECTION
   ========================================= */
.vip-ad-section {
  background: var(--cj-charcoal);
  padding: 100px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vip-ad-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.vip-ad-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.vip-ad-content i {
  font-size: 2rem;
  color: var(--reich-gold);
  margin-bottom: 28px;
  display: block;
  opacity: 0.9;
}

.vip-ad-content h2 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.vip-ad-content p {
  font-family: var(--font-body);
  color: var(--stone-light);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.btn-vip-ad {
  position: relative;
  display: inline-flex;
  place-content: center;
  place-items: center;
  overflow: hidden;
  border-radius: 4px;
  padding: 16px 48px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--reich-gold);
  background: var(--gold-muted);
  isolation: isolate;
  transition: color 0.2s linear;
}

.btn-vip-ad::before {
  content: '';
  position: absolute;
  width: 300%;
  aspect-ratio: 1;
  background-image: conic-gradient(from 0deg, transparent 0deg, #c9a84c 30deg, rgb(255, 210, 80) 60deg, transparent 90deg, transparent 180deg, #c9a84c 210deg, rgb(255, 210, 80) 240deg, transparent 270deg);
  animation: btnRotBG 3s linear infinite;
  transition: background-image 0.2s linear;
  z-index: 0;
}

@keyframes btnRotBG {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.btn-vip-ad::after {
  content: '';
  position: absolute;
  background: var(--cj-black);
  inset: 3px;
  border-radius: 2px;
  z-index: 1;
}

.btn-vip-ad span {
  position: relative;
  z-index: 2;
}

.btn-vip-ad:hover {
  color: var(--cj-black);
}

.btn-vip-ad::after {
  transition: background 0.3s ease;
}

.btn-vip-ad:hover::after {
  background: var(--reich-gold);
}

.btn-vip-ad:hover::before {
  background-image: conic-gradient(from 0deg, transparent 0deg, #c9a84c 30deg, rgb(255, 210, 80) 60deg, transparent 90deg, transparent 180deg, #c9a84c 210deg, rgb(255, 210, 80) 240deg, transparent 270deg);
  animation-duration: 1.5s;
}

/* =========================================
   9. ROOMS SECTION
   ========================================= */
.rooms {
  padding: 80px 5% 60px;
  background: #f2ede4;
  color: var(--cj-black);
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: 3.8rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 16px;
  color: var(--cj-black);
  letter-spacing: 0.01em;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-align: center;
  color: var(--reich-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

/* =========================================
   10. PROPERTY FILTER CARDS
   ========================================= */
.property-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.prop-card {
  overflow: hidden;
  background: white;
  cursor: pointer;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  position: relative;
}

.prop-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--reich-gold);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}

.prop-card.active::after,
.prop-card:hover::after {
  transform: scaleX(1);
}

.prop-card.active {
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.prop-card:hover .card-img {
  transform: scale(1.04);
}

.card-img-placeholder {
  width: 100%;
  height: 120px;
  background: var(--ivory-dark);
}

.card-body {
  width: 100%;
  padding: 18px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
}

.card-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  color: var(--cj-black);
  text-align: center;
  text-transform: none;
}

.card-address {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--reich-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  flex: 1;
  font-weight: 500;
}

.card-btn {
  background: var(--cj-black);
  color: var(--reich-gold);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
}

.card-btn:hover {
  background: var(--reich-gold);
  color: var(--cj-black);
}

.card-name-only {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  margin: auto;
  padding: 16px;
  color: var(--stone);
}

.empty-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   11. ROOM BLOCKS (Editorial Layout)
   ========================================= */
.rc-block {
  background: var(--cj-black);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

.rc-wrap {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 520px;
}

.rc-wrap--reversed {
  grid-template-columns: 45% 55%;
}

/* Info Panel */
.rc-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px 60px 70px;
  background: var(--cj-charcoal);
  text-align: right;
  position: relative;
}

.rc-info::before {
  content: '';
  position: absolute;
  top: 50px; bottom: 50px;
  right: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.4), transparent);
}

.rc-wrap--reversed .rc-info {
  padding: 60px 70px 60px 60px;
  text-align: left;
}

.rc-wrap--reversed .rc-info::before {
  left: 0;
  right: auto;
}

.rc-units-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--reich-gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.8;
}

.rc-name {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.rc-detail {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--stone-light);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-weight: 400;
}

.rc-btns {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.rc-wrap--reversed .rc-btns {
  justify-content: flex-start;
}

.rc-btn-book {
  display: inline-block;
  background: var(--reich-gold);
  color: var(--cj-black);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  text-decoration: none;
  border: 1px solid var(--reich-gold);
  transition: var(--transition);
  cursor: pointer;
}

.rc-btn-book:hover {
  background: transparent;
  color: var(--reich-gold);
}

.rc-btn-map {
  background: transparent;
  color: rgba(240,235,224,0.7);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid rgba(240,235,224,0.25);
  cursor: pointer;
  transition: var(--transition);
}

.rc-btn-map:hover {
  border-color: var(--reich-gold);
  color: var(--reich-gold);
}

/* Carousel */
.rc-carousel {
  overflow: hidden;
  position: relative;
}

.rc-carousel .swiper {
  height: 100%;
  min-height: 520px;
  padding: 0 !important;
}

.rc-carousel .swiper-slide {
  padding: 0 !important;
}

/* Footer bar */
.rc-footer {
  background: rgba(201,168,76,0.06);
  padding: 22px 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  border-top: 1px solid rgba(201,168,76,0.12);
}

.rc-footer-brand {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--stone);
  text-transform: uppercase;
}

.rc-footer-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--reich-gold);
  font-style: italic;
}

.rc-wrap--reversed .rc-footer {
  align-items: flex-start;
}

/* =========================================
   12. SWIPER CONTROLS
   ========================================= */
.swiper {
  width: 100%;
  padding: 20px 10px 60px 10px;
}

.swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}

.swiper-button-next,
.swiper-button-prev {
  background-color: rgba(12,12,12,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  color: var(--reich-gold) !important;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 0.85rem !important;
  font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--reich-gold);
  color: var(--cj-black) !important;
  border-color: var(--reich-gold);
  transform: scale(1.08);
}

.swiper-button-next { right: 14px; z-index: 10; }
.swiper-button-prev { left: 14px; z-index: 10; }

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.4);
  opacity: 1;
  width: 6px;
  height: 6px;
  transition: var(--transition);
}

.swiper-pagination-bullet-active {
  background: var(--reich-gold);
  width: 24px;
  border-radius: 3px;
}

/* =========================================
   13. RESULTS & BOOKING VIEWS
   ========================================= */
#booking-view {
  display: none;
  margin: 40px auto;
  width: 95%;
  max-width: 1000px;
  background: white;
  border-radius: 0;
  border: 1px solid var(--reich-gold);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

iframe {
  width: 100%;
  border: none;
  background: white;
}

.hidden { display: none !important; }

#results-view {
  min-height: 600px;
  display: none;
  background: white !important;
  margin-top: 40px;
  z-index: 100;
}

#results-view.visible {
  display: block !important;
}

/* Content fade animation */
.fade-in-content {
  animation: contentFadeIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes contentFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   14. MAP SECTION
   ========================================= */
#map-section {
  padding: 60px 5%;
  background: var(--cj-dark);
}

#multi-unit-map {
  border: 1px solid rgba(201,168,76,0.2);
}

/* =========================================
   15. MANAGEMENT PAGE
   ========================================= */
.services-section {
  padding: 100px 10%;
  background: var(--cj-black);
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  background: var(--cj-charcoal);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid var(--reich-gold);
  padding: 44px 32px;
  border-radius: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(201,168,76,0.12);
}

.service-card i {
  font-size: 2.2rem;
  color: var(--reich-gold);
  margin-bottom: 24px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
}

/* =========================================
   16. VIP PORTAL STYLES
   ========================================= */
#vip-portal-modal .modal-content {
  max-width: 700px;
  text-align: left;
  padding: 40px;
}

.member-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #1a1a18, #2a2520);
  border-radius: 0;
  border: 1px solid rgba(201,168,76,0.3);
  margin-bottom: 28px;
}

.member-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--reich-gold);
  object-fit: cover;
  background: #333;
}

#member-upload-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--cj-black);
  color: var(--reich-gold);
  border: 1px solid var(--reich-gold);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: var(--transition);
}

.card-info { flex-grow: 1; }

.card-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ivory);
}

.card-id {
  color: var(--stone);
  font-family: monospace;
  font-size: 0.8rem;
}

.big-tier {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--theme-color);
  text-transform: uppercase;
  margin-top: 6px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
}

.section-header {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 10px;
}

.loyalty-card {
  background: var(--cj-dark);
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}

.loyalty-title {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--theme-color);
  margin-bottom: 20px;
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.stamp-grid .stamp {
  aspect-ratio: 1;
  border: 1px dashed #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.stamp-grid .stamp.filled {
  border-style: solid;
  border-color: var(--theme-color);
  color: var(--theme-color);
  background: rgba(201,168,76,0.08);
  transform: scale(1.08);
}

.card-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--stone);
  margin-top: 18px;
  line-height: 1.6;
}

.card-footer .highlight {
  color: var(--theme-color);
  font-weight: 600;
}

.reward-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cj-dark);
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 10px;
  transition: var(--transition);
}

.reward-card:hover {
  border-color: rgba(201,168,76,0.2);
}

.r-icon { font-size: 1.3rem; }

.r-info { flex-grow: 1; }

.r-title {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-light);
}

.r-desc {
  font-size: 0.8rem;
  color: var(--stone);
}

.r-status {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.r-status.s-locked  { background: var(--locked); color: #888; }
.r-status.s-unlocked { background: var(--success); color: white; }
.r-status.s-claimed { background: var(--theme-color); color: var(--cj-black); }

.benefits-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefits-box .benefit-item {
  background: var(--cj-dark);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 12px 16px;
  margin: 0;
  color: var(--text-light);
  font-size: 0.85rem;
}

.btn-logout {
  width: 100%;
  padding: 13px;
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 28px;
  transition: var(--transition);
}

.btn-logout:hover {
  background: var(--danger);
  color: white;
}

/* =========================================
   17. VIP APPLICATION FORM
   ========================================= */
.vip-apply-body {
  font-family: var(--font-body);
  background-color: #0a0e14;
  color: #e6edf3;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.vip-apply-container {
  width: 100%;
  max-width: 500px;
  background: #151b24;
  padding: 40px 36px;
  border: 1px solid #30363d;
  margin: auto;
}

.vip-apply-container h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-align: center;
  margin-bottom: 6px;
  font-style: italic;
}

.vip-apply-container p.subtitle {
  text-align: center;
  color: #8b949e;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.vip-apply-container label {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #8b949e;
}

.vip-apply-container input,
.vip-apply-container select {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  background-color: #0a0e14;
  border: 1px solid #30363d;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: white;
  box-sizing: border-box;
  transition: border 0.3s ease;
}

.vip-apply-container input:focus,
.vip-apply-container select:focus {
  border-bottom-color: var(--gold-bright);
  outline: none;
  background-color: #111820;
}

.vip-apply-container select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23D4AF37%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 15px top 50%;
  background-size: 11px auto;
}

.vip-apply-container select option {
  background-color: #151b24 !important;
  color: white !important;
}

.input-error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
  animation: shake 0.3s;
}

.mobile-group {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.mobile-group select { width: 140px; margin-bottom: 0; }
.mobile-group input  { flex: 1; margin-bottom: 0; }

.file-upload {
  border: 1px dashed var(--gold-bright);
  padding: 22px;
  text-align: center;
  margin-bottom: 22px;
  cursor: pointer;
  color: var(--gold-bright);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  background: rgba(212,175,55,0.04);
  transition: all 0.3s ease;
}

.upload-error {
  border-color: var(--danger) !important;
  color: var(--danger) !important;
  background: rgba(192,57,43,0.08);
  animation: shake 0.3s;
}

.vip-apply-container #paymentSection {
  display: none;
  animation: fadeIn 0.3s;
}

.pay-card {
  background: linear-gradient(135deg, #004d40, #00695c);
  padding: 22px;
  text-align: center;
  margin-bottom: 22px;
  border: 1px solid #00bfa5;
}

.pay-btn {
  background: white;
  color: #00695c;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
}

.vip-apply-container #fbSection {
  display: none;
  background: #1877f2;
  color: white;
  padding: 16px;
  text-align: center;
  margin-bottom: 18px;
  font-size: 0.82rem;
}

.checkbox-group {
  margin-bottom: 18px;
  font-size: 0.8rem;
  color: #8b949e;
  margin-top: 18px;
}

.vip-apply-container button {
  width: 100%;
  padding: 16px;
  background: var(--gold-bright);
  color: var(--cj-black);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.vip-apply-container button:hover {
  background: var(--gold-muted);
}

.vip-apply-container button:disabled {
  background: #2a2a28;
  color: #555;
  cursor: not-allowed;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-5px); }
  50%  { transform: translateX(5px); }
  75%  { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.vip-stat-bday {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  margin: 10px 0 !important;
  font-weight: 600;
}

/* =========================================
   18. RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .property-filters {
    grid-template-columns: repeat(2, 1fr);
  }
  .rc-wrap,
  .rc-wrap--reversed {
    grid-template-columns: 1fr;
  }
  .rc-info,
  .rc-wrap--reversed .rc-info {
    padding: 50px 40px;
    text-align: left;
  }
  .rc-info::before { display: none; }
  .rc-btns,
  .rc-wrap--reversed .rc-btns {
    justify-content: flex-start;
  }
  .rc-carousel .swiper,
  .rc-carousel {
    min-height: 360px;
  }
  .rc-footer {
    align-items: flex-start;
    padding: 18px 40px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 18px 20px;
  }
  .nav-links {
    display: none; /* hidden until hamburger opens it */
  }
  .hero h1 {
    font-size: 3rem;
    line-height: 1.2;
  }
  .luxury-search-card {
    margin: -30px 15px 30px 15px;
    padding: 0;
    border-radius: 0;
  }
  .search-pill {
    flex-direction: column;
    gap: 18px;
    background: transparent;
    box-shadow: none;
    padding: 24px 20px;
  }
  .search-segment {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e8e2d8;
    padding: 0 0 18px 0;
    margin-right: 0;
  }
  .search-segment:last-of-type {
    border-bottom: none;
  }
  .search-segment input,
  .search-segment select {
    width: 100%;
    font-size: 16px;
  }
  .btn-search {
    width: 100%;
    padding: 17px;
    font-size: 0.75rem;
  }
  .benefit-bar {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 18px 20px;
  }
  .features {
    flex-direction: column;
    gap: 50px;
    padding: 70px 8%;
  }
  .feature-item {
    border-right: none;
    border-bottom: 1px solid #d8d0c0;
    padding: 0 0 50px 0;
  }
  .feature-item:last-child { border-bottom: none; }
  .property-filters {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .section-title { font-size: 2.6rem; }
  .vip-ad-content h2 { font-size: 2.4rem; }
  .rc-name { font-size: 2.2rem; }
  .rc-info,
  .rc-wrap--reversed .rc-info { padding: 40px 28px; }
  .rc-footer { padding: 16px 28px; }
  footer { padding: 60px 6% 40px; }

  /* Footer responsive */
  .footer-top { padding: 48px 6% 44px; }
  .footer-columns { padding: 44px 6% 40px; }
  .footer-social-row { padding: 28px 6%; }
  .footer-contact-row { padding: 24px 6%; }
  .footer-legal { padding: 24px 6%; }
}

@media (max-width: 480px) {
  .property-filters {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 2.4rem; }
}

/* =========================================
   19. FOOTER — Responsive Breakpoints
   ========================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-social-row { flex-direction: column; align-items: flex-start; }
  .footer-awards { display: none; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-contact-row { flex-direction: column; gap: 8px; }
  .footer-contact-divider { display: none; }
  .footer-contact-item { padding: 4px 0; }
}

@media (max-width: 420px) {
  .footer-columns { grid-template-columns: 1fr; }
  .footer-legal-links { gap: 14px; }
}

/* =========================================
   20. SCROLLBAR
   ========================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cj-black); }
::-webkit-scrollbar-thumb { background: var(--reich-gold); opacity: 0.5; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-bright); }
/* =========================================
   HAMBURGER MENU — Mobile Nav
   ========================================= */

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.4);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.nav-hamburger:hover { border-color: #c9a84c; }

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #c9a84c;
  transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
  transform-origin: center;
}

/* Animated X when open */
.nav-hamburger--open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger--open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger--open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Full-screen overlay behind the drawer */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay--visible {
  display: block;
  opacity: 1;
}

@media (max-width: 768px) {
  /* Show hamburger */
  .nav-hamburger { display: flex; }

  /* Mobile drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78vw;
    max-width: 320px;
    height: 100dvh;
    background: #0c0c0c;
    border-left: 1px solid rgba(201, 168, 76, 0.2);
    display: flex !important;            /* override the display:none */
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 60px 40px;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  }

  /* Slide in when open */
  .nav-links.nav-open { right: 0; }

  /* Each link in the drawer */
  .nav-links a {
    width: 100%;
    padding: 16px 0;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(240, 235, 224, 0.8);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover { color: #c9a84c; padding-left: 6px; transition: all 0.2s; }

  /* VIP button in drawer */
  .nav-links .btn-vip {
    margin-top: 28px;
    width: 100%;
    text-align: center;
    padding: 14px 22px !important;
  }
}