/* ==========================================================
   SHORTLET MAGNIFICENT — DESIGN TOKENS
========================================================== */
:root{
  --navy-deep:   #0f172b;
  --navy-dark:   #0a1120;
  --navy-soft:   #182238;
  --gold:        #f0c48d;
  --gold-dark:   #d9a868;
  --white:       #FFFFFF;
  --bg-light:    #F7F5F0;
  --text:        #0f172b;
  --text-muted:  #6B6558;
  --border:      #E7E1D4;
  --success:     #2E9E5B;
  --burgundy:    #801424;

  --font-head: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Lato', system-ui, sans-serif;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 8px 24px rgba(7,21,47,0.08);
  --shadow-elevated: 0 16px 40px rgba(7,21,47,0.16);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:var(--bg-light);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  padding-bottom:88px; /* space for bottom nav */
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--font-head); margin:0; color:var(--text); }
p{ margin:0; }
ul{ list-style:none; margin:0; padding:0; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }
.gold{ color:var(--gold); }

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

/* ==========================================================
   SKELETON LOADING WITH SHIMMER EFFECT
========================================================== */
.skeleton{
  position:relative;
  background:linear-gradient(90deg, var(--border) 0%, var(--border) 50%, #f0ede5 50%, #f0ede5 100%);
  background-size:200% 100%;
  animation:skeleton-shimmer 2s infinite;
  border-radius:var(--radius-md);
  overflow:hidden;
}

@keyframes skeleton-shimmer{
  0%{ background-position:200% 0; }
  100%{ background-position:-200% 0; }
}

/* Enhanced shimmer effect */
.skeleton::after{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation:shimmer-wave 2s infinite;
}

@keyframes shimmer-wave{
  0%{ transform:translateX(-100%); }
  100%{ transform:translateX(100%); }
}

/* Property Card Skeleton */
.skeleton-card{
  display:flex;
  flex-direction:column;
  background:var(--white);
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:var(--shadow-card);
}

.skeleton-card-media{
  width:100%;
  padding-top:66%;
  position:relative;
  background:var(--border);
}

.skeleton-card-media .skeleton{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius:0;
}

.skeleton-card-info{
  padding:14px 14px 16px;
  flex:1;
}

.skeleton-text{
  height:12px;
  margin-bottom:8px;
  border-radius:4px;
}

.skeleton-text.title{
  height:16px;
  margin-bottom:10px;
  width:85%;
}

.skeleton-text.location{
  height:11px;
  width:70%;
  margin-bottom:6px;
}

.skeleton-text.price{
  height:18px;
  width:50%;
  margin-bottom:10px;
}

.skeleton-text.meta{
  height:11px;
  width:90%;
  margin-top:8px;
}

.skeleton-text.short{ width:60%; }

/* ==========================================================
   ERROR STATES
========================================================== */
.error-toast{
  position:fixed;
  bottom:100px;
  left:16px;
  right:16px;
  padding:14px 16px;
  background:#E53E3E;
  color:white;
  border-radius:var(--radius-md);
  font-size:14px;
  z-index:1000;
  animation:slide-up .3s ease;
  box-shadow:var(--shadow-elevated);
  display:none;
  max-width:500px;
}
.error-toast.show{ 
  display:flex;
  align-items:center;
  gap:10px;
}
.error-toast.hide{ display:none; }
.error-toast::before{
  content:'⚠';
  font-size:18px;
  flex-shrink:0;
}
.error-toast.success{
  background:var(--success);
}

@keyframes slide-up{
  from{ transform:translateY(100px); opacity:0; }
  to{ transform:translateY(0); opacity:1; }
}

@keyframes slide-down{
  from{ transform:translateY(0); opacity:1; }
  to{ transform:translateY(100px); opacity:0; }
}

.error-message{
  padding:12px 14px;
  background:#FEE;
  border:1px solid #FCC;
  border-radius:var(--radius-sm);
  color:#C33;
  font-size:13px;
  line-height:1.4;
  margin-bottom:12px;
  display:flex;
  align-items:flex-start;
  gap:8px;
}

.error-message::before{
  content:'!';
  display:flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  background:#C33;
  color:white;
  border-radius:50%;
  font-weight:bold;
  flex-shrink:0;
  font-size:12px;
}

.error-state{
  text-align:center;
  padding:40px 20px;
  color:var(--text-muted);
}

.error-state-content{
  max-width:400px;
  margin:0 auto;
}

.error-state svg{
  width:60px;
  height:60px;
  margin-bottom:16px;
  opacity:0.5;
}
.error-state p{ margin-bottom:12px; }
.error-state .btn{ margin-top:16px; }

/* ==========================================================
   BUTTONS
========================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-head);
  font-weight:700;
  font-size:15px;
  padding:14px 20px;
  border-radius:12px;
  border:none;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  touch-action:manipulation;
  white-space:nowrap;
}
.btn:active{ transform:scale(0.97); }
.btn-gold{
  background:linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color:var(--navy-deep);
  box-shadow:0 6px 16px rgba(242,181,43,0.35);
}
.btn-outline{
  background:rgba(7,21,47,0.35);
  color:var(--white);
  border:1.5px solid rgba(255,255,255,0.6);
  backdrop-filter:blur(4px);
}
.btn-full{ width:100%; }
.btn-sm{ padding:11px 16px; font-size:13.5px; flex-shrink:0; }

/* ==========================================================
   HEADER
========================================================== */
.site-header{
  position:sticky;
  top:0;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 22px;
  background:var(--navy-deep);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.brand{ display:flex; align-items:center; gap:8px; }
.brand-icon{ width:34px; height:34px; flex-shrink:0; }
.brand-icon svg{ width:100%; height:100%; }
.brand-text{ display:flex; flex-direction:column; line-height:1.08; }
.brand-name{ font-family:var(--font-head); font-weight:400; font-size:14.5px; color:var(--white); letter-spacing:0.4px; text-transform:uppercase; }

.hamburger-btn{
  width:40px; height:40px;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap:6px;
  background:transparent;
  border:none;
  touch-action:manipulation;
}
.hamburger-btn span{
  width:26px; height:2.2px;
  background:var(--gold);
  border-radius:2px;
  transition:transform .25s ease, opacity .2s ease;
}
.hamburger-btn[aria-expanded="true"] span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.hamburger-btn[aria-expanded="true"] span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

/* ==========================================================
   NAV DRAWER
========================================================== */
.drawer-overlay{
  position:fixed; inset:0;
  background:rgba(4,10,24,0.55);
  z-index:50;
  opacity:0; pointer-events:none;
  transition:opacity .25s ease;
}
.drawer-overlay.open{ opacity:1; pointer-events:auto; }

.nav-drawer{
  position:fixed;
  top:0; right:0;
  height:100%;
  width:82%;
  max-width:340px;
  background:var(--navy-dark);
  z-index:60;
  display:flex;
  flex-direction:column;
  padding:18px 18px 26px;
  transform:translateX(100%);
  transition:transform .32s cubic-bezier(.32,.72,0,1);
  box-shadow:-16px 0 40px rgba(0,0,0,0.3);
}
.nav-drawer.open{ transform:translateX(0); }

.drawer-top{
  display:flex; align-items:center; justify-content:space-between;
  padding-bottom:20px;
  margin-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.drawer-close{
  width:36px; height:36px;
  border-radius:10px;
  background:rgba(255,255,255,0.06);
  border:none;
  display:flex; align-items:center; justify-content:center;
}
.drawer-nav{ flex:1; display:flex; flex-direction:column; gap:4px; margin-top:6px; }
.drawer-link{
  display:flex; align-items:center; gap:14px;
  padding:13px 14px;
  border-radius:12px;
  color:rgba(255,255,255,0.72);
  font-weight:600;
  font-size:15px;
  transition:background .15s ease, color .15s ease;
}
.drawer-link svg{ flex-shrink:0; }
.drawer-link.active{
  background:rgba(242,181,43,0.12);
  color:var(--gold);
}
.drawer-link:active{ background:rgba(255,255,255,0.06); }

.drawer-contact-btn{
  display:block;
  text-align:center;
  margin-top:16px;
  padding:15px;
  border-radius:12px;
  background:linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  color:var(--navy-deep);
  font-family:var(--font-head);
  font-weight:800;
  font-size:15px;
}
.drawer-auth-btn{
  display:block; width:100%; text-align:center; margin-top:16px;
  padding:13px; border-radius:12px; border:1.5px solid var(--navy-deep);
  background:none; color:var(--navy-deep); font-family:var(--font-head);
  font-weight:700; font-size:14px; cursor:pointer;
}
.auth-status{ font-size:13px; color:var(--text-muted); margin:0 0 10px; }

body.no-scroll{ overflow:hidden; height:100%; }

/* ==========================================================
   HERO
========================================================== */
.hero{ position:relative; }
.hero-visual{
  position:relative;
  height:520px;
  width:100%;
  overflow:hidden;
  background:var(--navy-deep);
}
.hero-media{
  position:absolute;
  top:0; right:0; bottom:0;
  width:100%;
  overflow:hidden;
  z-index:0;
}
.hero-media img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:60% center;
  filter:saturate(0.85) brightness(0.94);
}
.hero-bg-slide{
  opacity:0;
  transition:opacity 1.2s ease;
  background:var(--navy-deep);
}
.hero-bg-slide.active{ opacity:1; }
/* Hero video: sits on top of the photos and fades in once it is really playing */
.hero-video-wrap{ position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.hero-video-wrap video{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:60% center;
  filter:saturate(0.85) brightness(0.94);
  opacity:0; transition:opacity 1s ease; background:var(--navy-deep);
}
.hero-video-wrap video.on{ opacity:1; }
/* No photos chosen: show a still from the video behind it while it loads */
.hero-media:empty + .hero-video-wrap{ background-image:var(--hero-poster, none); background-size:cover; background-position:60% center; }
.hero-fade{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,23,43,0.55) 0%, rgba(15,23,43,0.25) 35%, rgba(15,23,43,0.35) 60%, rgba(15,23,43,0.65) 100%);
  z-index:1;
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,23,43,0.35) 0%, rgba(15,23,43,0.15) 30%, rgba(15,23,43,0.75) 74%, var(--navy-deep) 100%);
  z-index:1;
}
.hero-content{
  position:absolute;
  left:0; right:0; bottom:0;
  padding:0 18px 40px;
  color:var(--white);
  z-index:2;
}
.hero-content h1{
  font-size:clamp(30px, 8vw, 40px);
  line-height:1.02;
  font-weight:800;
  margin-bottom:10px;
  letter-spacing:-0.5px;
  text-shadow:0 2px 12px rgba(0,0,0,0.35);
}
.hero-line{ display:block; color:var(--white); }
.hero-line.gold{ color:var(--gold); }
.hero-sub{
  font-size:14.5px;
  color:rgba(255,255,255,0.9);
  margin-bottom:20px;
  line-height:1.5;
  text-shadow:0 1px 8px rgba(0,0,0,0.35);
}
.hero-actions{ display:flex; gap:12px; flex-wrap:nowrap; max-width:460px; }
.hero-actions .btn{ flex:1 1 0; min-width:0; padding-left:12px; padding-right:12px; }

/* Search card */
.search-section{ padding-top:8px; }
.search-card{
  position:relative;
  z-index:5;
  margin:0 auto;
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:6px 18px 18px;
  box-shadow:var(--shadow-elevated);
}
.search-field{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 2px;
  touch-action:manipulation;
}
.search-icon{
  width:20px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.gold-dollar{
  font-family:var(--font-head);
  font-weight:800;
  font-size:17px;
  color:var(--gold);
}
.search-text{ flex:1; display:flex; flex-direction:column; gap:2px; min-width:0; }
.search-text label{
  font-size:11.5px;
  font-weight:700;
  letter-spacing:0.6px;
  color:var(--text-muted);
  text-transform:uppercase;
}
.search-value{
  font-size:15px;
  font-weight:600;
  color:var(--text);
}
.chevron{ flex-shrink:0; }
.search-divider{ height:1px; background:var(--border); margin:0 2px; }
.search-card .btn{ margin-top:14px; }

/* ==========================================================
   SECTIONS
========================================================== */
.section{ padding:44px 18px 6px; }
.section-tight-top{ padding-top:16px; padding-left:24px; padding-right:24px; }
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:18px;
}
.section-head h2{
  font-size:22px;
  font-weight:800;
  position:relative;
  padding-bottom:10px;
}
.head-underline{
  position:absolute;
  left:0; bottom:0;
  width:36px; height:3px;
  border-radius:2px;
  background:var(--burgundy);
}
.head-underline.underline-wine{ background:var(--burgundy); }
.view-all{
  display:flex; align-items:center; gap:5px;
  font-size:13.5px;
  font-weight:700;
  color:var(--gold-dark);
  flex-shrink:0;
  padding-bottom:2px;
}

/* ==========================================================
   PROPERTY CARDS
========================================================== */
.property-scroll{
  display:flex;
  gap:14px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:6px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.property-scroll::-webkit-scrollbar{ display:none; }

.property-card{
  scroll-snap-align:start;
  flex:0 0 78%;
  max-width:300px;
  background:var(--white);
  border-radius:var(--radius-md);
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:var(--shadow-card);
  cursor:pointer;
}
.property-media{ position:relative; width:100%; padding-top:66%; overflow:hidden; background:var(--border); }
.property-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:opacity .3s ease; }
.property-media img.loading{ opacity:0; }
.property-media img.loaded{ opacity:1; }
.property-media img.error{ opacity:0.5; }
.property-media .image-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, var(--border) 0%, #e0dace 100%);
  color:var(--text-muted);
  font-size:12px;
  opacity:0;
  transition:opacity .3s ease;
}
.property-media .image-placeholder.show{ opacity:1; }
.property-badge{
  position:absolute; top:10px; left:10px;
  background:var(--burgundy);
  color:var(--white);
  font-size:11px; font-weight:700;
  padding:5px 10px;
  border-radius:6px;
  letter-spacing:0.3px;
}
.property-badge.rent{ background:var(--gold-dark); color:var(--navy-deep); }
.fav-btn{
  position:absolute; top:8px; right:8px;
  width:32px; height:32px;
  border-radius:50%;
  background:rgba(255,255,255,0.92);
  border:none;
  display:flex; align-items:center; justify-content:center;
  touch-action:manipulation;
}
.fav-btn svg{ width:17px; height:17px; }
.fav-btn.active svg path{ fill:var(--burgundy); stroke:var(--burgundy); }

.property-info{ padding:14px 14px 16px; }
.property-info h3{ font-size:15.5px; font-weight:700; margin-bottom:5px; line-height:1.3; }
.property-loc{
  display:flex; align-items:center; gap:5px;
  font-size:12.5px; color:var(--text-muted);
  margin-bottom:8px;
}
.property-loc svg{ flex-shrink:0; }
.property-price{
  font-family:var(--font-head);
  font-weight:800;
  font-size:16.5px;
  color:var(--gold-dark);
  margin-bottom:10px;
}
.property-price .per{ font-size:11.5px; font-weight:600; color:var(--text-muted); }
.property-meta{
  display:flex; gap:14px;
  padding-top:10px;
  border-top:1px solid var(--border);
}
.property-meta span{
  display:flex; align-items:center; gap:5px;
  font-size:12px; color:var(--text-muted); font-weight:600;
}

.scroll-dots{ display:flex; justify-content:center; gap:6px; margin-top:10px; }
.scroll-dots .dot{ width:6px; height:6px; border-radius:50%; background:var(--border); transition:background .2s, width .2s; }
.scroll-dots .dot.active{ background:var(--gold); width:18px; border-radius:3px; }

/* ==========================================================
   TRUST SECTION
========================================================== */
.trust-section{
  margin:44px 0 0;
  padding:38px 18px;
  background:var(--navy-deep);
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  text-align:center;
}
.trust-icon{
  width:52px; height:52px;
  border-radius:50%;
  background:rgba(242,181,43,0.1);
  border:1px solid rgba(242,181,43,0.25);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 12px;
}
.trust-item h3{ color:var(--white); font-size:14px; font-weight:700; line-height:1.3; margin-bottom:4px; }
.trust-item p{ color:rgba(255,255,255,0.55); font-size:11.5px; line-height:1.4; }
.trust-divider{ grid-column:1 / -1; height:1px; background:rgba(255,255,255,0.1); margin:30px 0 6px; }

/* ==========================================================
   AMENITIES
========================================================== */
.amenities-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}
.amenity-card{
  display:flex;
  align-items:center;
  gap:12px;
  background:var(--navy-deep);
  border-radius:var(--radius-md);
  padding:14px 12px;
}
.amenity-icon{
  width:38px; height:38px;
  border-radius:50%;
  background:rgba(240,196,141,0.1);
  border:1px solid rgba(240,196,141,0.25);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.amenity-label{ color:var(--white); font-size:13px; font-weight:700; line-height:1.25; }

/* ==========================================================
   TESTIMONIALS
========================================================== */
.demo-label{
  font-size:11px;
  color:var(--text-muted);
  font-style:italic;
  margin-bottom:10px;
  margin-top:-8px;
}
.testimonial-carousel{ display:flex; align-items:center; gap:8px; }
.carousel-arrow{
  width:32px; height:32px;
  border-radius:50%;
  background:var(--white);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  color:var(--text);
  box-shadow:var(--shadow-card);
  touch-action:manipulation;
  align-self:center;
}
.testimonial-track{
  flex:1;
  overflow:hidden;
  position:relative;
}
.testimonial-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:14px 14px;
  display:flex;
  gap:10px;
  align-items:center;
  min-height:105px;
  max-height:125px;
  overflow:hidden;
  box-sizing:border-box;
}
.testimonial-avatar{ width:52px; height:52px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.testimonial-body{ flex:1; min-width:0; }
.stars{ display:flex; gap:2px; margin-bottom:5px; }
.stars svg{ width:13px; height:13px; }
.testimonial-text{
  font-size:12.5px;
  line-height:1.4;
  color:var(--text);
  margin-bottom:6px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.testimonial-name{ font-size:12.5px; font-weight:700; line-height:1.2; }
.testimonial-loc{ font-size:11.5px; color:var(--text-muted); line-height:1.2; }

/* ==========================================================
   CTA COMPACT
========================================================== */
.cta-compact{
  background:var(--navy-deep);
  border-radius:26px;
  padding:14px 16px;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:75px;
  max-height:95px;
  box-sizing:border-box;
  flex-wrap:nowrap;
}
.cta-icon{
  width:42px; height:42px;
  border-radius:50%;
  background:rgba(242,181,43,0.12);
  border:1px solid rgba(242,181,43,0.3);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.cta-text{ flex:1; min-width:0; }
.cta-text h3{ color:var(--white); font-size:14px; font-weight:700; line-height:1.25; margin-bottom:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cta-text p{ color:rgba(255,255,255,0.6); font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* ==========================================================
   LOCATIONS
========================================================== */
.location-chip-row{
  display:flex; gap:10px; overflow-x:auto; padding-bottom:4px;
  scrollbar-width:none; -webkit-overflow-scrolling:touch;
}
.location-chip-row::-webkit-scrollbar{ display:none; }
.location-chip{
  flex:0 0 auto;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  width:104px;
  cursor:pointer;
}
.location-chip-img{
  width:104px; height:78px;
  border-radius:14px;
  overflow:hidden;
  position:relative;
}
.location-chip-img img{ width:100%; height:100%; object-fit:cover; }
.location-chip-img::after{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(7,21,47,0) 40%, rgba(7,21,47,0.65) 100%);
}
.location-chip span{ font-size:12.5px; font-weight:700; text-align:center; }

/* ==========================================================
   CATEGORIES
========================================================== */
.category-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}
.category-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:18px 14px;
  display:flex; flex-direction:column; align-items:flex-start; gap:12px;
  cursor:pointer;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.category-card:active{ box-shadow:var(--shadow-card); }
.category-icon{
  width:42px; height:42px;
  border-radius:11px;
  background:rgba(242,181,43,0.1);
  display:flex; align-items:center; justify-content:center;
}
.category-card span.label{ font-size:14.5px; font-weight:700; }
.category-card .count{ font-size:11.5px; color:var(--text-muted); }

/* ==========================================================
   WHY CHOOSE US
========================================================== */
.why-list{ display:flex; flex-direction:column; gap:12px; }
.why-card{
  display:flex; gap:14px; align-items:flex-start;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:18px;
  box-shadow:var(--shadow-card);
}
.why-icon{
  width:44px; height:44px; flex-shrink:0;
  border-radius:12px;
  background:rgba(242,181,43,0.1);
  display:flex; align-items:center; justify-content:center;
}
.why-card h4{ font-size:15px; font-weight:700; margin-bottom:4px; }
.why-card p{ font-size:13px; color:var(--text-muted); line-height:1.5; }

/* ==========================================================
   FOOTER
========================================================== */
.site-footer{
  margin-top:50px;
  background:var(--navy-dark);
  padding:40px 22px 26px;
}
.footer-brand{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; margin-bottom:14px; }
.footer-brand .brand-text{ align-items:center; text-align:center; }
.footer-tagline{ color:rgba(255,255,255,0.55); font-size:13px; max-width:280px; margin:0 auto 26px; line-height:1.55; text-align:center; }
.footer-divider{ height:1px; background:linear-gradient(90deg, transparent, rgba(242,181,43,0.35), transparent); margin:0 0 24px; }
.footer-quicklinks{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:10px;
  margin-bottom:26px;
}
.footer-quicklinks a{
  display:flex; flex-direction:column; align-items:center; gap:6px;
  color:rgba(255,255,255,0.75);
  font-size:11.5px; font-weight:600;
  padding:10px 4px;
  border-radius:12px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
}
.footer-quicklinks svg{ flex-shrink:0; }
.footer-contact{
  display:flex; flex-direction:column; gap:12px;
  margin-bottom:26px;
}
.footer-contact a{
  display:flex; align-items:center; gap:10px;
  color:rgba(255,255,255,0.85);
  font-size:13.5px; font-weight:500;
}
.footer-contact a svg{ flex-shrink:0; color:var(--gold); }
.footer-social{ display:flex; justify-content:center; gap:12px; margin-bottom:24px; }
.footer-social a{
  width:36px; height:36px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(242,181,43,0.1);
  border:1px solid rgba(242,181,43,0.25);
  color:var(--gold);
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);
  padding-top:18px;
  text-align:center;
}
.footer-copy{ color:rgba(255,255,255,0.35); font-size:11px; line-height:1.6; }

/* ==========================================================
   BOTTOM NAV
========================================================== */
.bottom-nav{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:40;
  display:flex;
  background:var(--white);
  border-top:1px solid var(--border);
  padding:9px 6px calc(9px + env(safe-area-inset-bottom));
  box-shadow:0 -6px 20px rgba(7,21,47,0.06);
}
.bottom-item{
  flex:1;
  display:flex; flex-direction:column; align-items:center; gap:3px;
  color:#9AA3B2;
  font-size:11px; font-weight:600;
  padding:4px 0;
  touch-action:manipulation;
}
.bottom-item.active{ color:var(--gold-dark); }

/* ==========================================================
   MODAL
========================================================== */
.modal-overlay{
  position:fixed; inset:0;
  background:rgba(4,10,24,0.55);
  z-index:70;
  opacity:0; pointer-events:none;
  transition:opacity .25s ease;
}
.modal-overlay.open{ opacity:1; pointer-events:auto; }
.modal{
  position:fixed;
  left:50%; bottom:0;
  transform:translate(-50%, 100%);
  width:100%;
  max-width:480px;
  background:var(--white);
  border-radius:22px 22px 0 0;
  z-index:80;
  padding:22px 20px calc(24px + env(safe-area-inset-bottom));
  transition:transform .3s cubic-bezier(.32,.72,0,1);
  max-height:88vh;
  overflow-y:auto;
}
.modal.open{ transform:translate(-50%, 0); }
.modal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:4px; }
.modal-head h3{ font-size:18px; font-weight:800; }
.modal-close{ width:32px; height:32px; border-radius:50%; background:var(--bg-light); border:none; display:flex; align-items:center; justify-content:center; }
.modal-property{ color:var(--text-muted); font-size:13px; margin-bottom:18px; }
.modal form{ display:flex; flex-direction:column; gap:14px; }
.modal label{ display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:600; color:var(--text); }
.modal input, .modal textarea, .modal select{
  border:1.5px solid var(--border);
  border-radius:10px;
  padding:12px 13px;
  font-size:14.5px;
  font-family:inherit;
  color:var(--text);
  background:var(--bg-light);
  resize:none;
}
.modal input:focus, .modal textarea:focus, .modal select:focus{ outline:none; border-color:var(--gold); background:var(--white); }
.modal .btn{ margin-top:4px; }
.modal-success{ display:none; flex-direction:column; align-items:center; text-align:center; gap:12px; padding:20px 0 6px; }
.modal-success p{ font-size:14.5px; color:var(--text); font-weight:600; }
.modal.success .modal-property, .modal.success form{ display:none; }
.modal.success .modal-success{ display:flex; }

/* ==========================================================
   TOAST
========================================================== */
.toast{
  position:fixed;
  left:50%; bottom:90px;
  transform:translateX(-50%) translateY(20px);
  background:var(--navy-deep);
  color:var(--white);
  font-size:13.5px;
  font-weight:600;
  padding:12px 20px;
  border-radius:12px;
  z-index:90;
  opacity:0; pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
  white-space:nowrap;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ==========================================================
   TABLET / DESKTOP
========================================================== */
@media (min-width:640px){
  .hero-visual{ height:560px; }
  .search-card{ margin-left:auto; margin-right:auto; max-width:560px; }
  .property-card{ flex:0 0 320px; }
  .trust-section{ padding:48px 40px; }
  .category-grid{ grid-template-columns:repeat(4, 1fr); }
  .section{ max-width:900px; margin:0 auto; padding-left:24px; padding-right:24px; }
  .trust-section, .site-footer{ padding-left:40px; padding-right:40px; }
}

@media (min-width:960px){
  body{ padding-bottom:0; }
  .bottom-nav{ display:none; }
  .hamburger-btn{ display:none; }
  .site-header{ padding:16px 40px; }
  .hero-visual{ height:640px; }
  .hero-media{ width:100%; }
  .hero-fade{ background:linear-gradient(180deg, rgba(7,21,47,0.35) 0%, rgba(7,21,47,0.25) 40%, rgba(7,21,47,0.75) 100%); }
  .hero-content{ max-width:960px; margin:0 auto; left:0; right:0; padding:0 40px 56px; }
  .search-card{ max-width:820px; padding:10px 28px 22px; }
  .search-card .search-field{ display:flex; }
  .section{ max-width:1080px; padding-top:64px; }
  .property-scroll{ display:grid; grid-template-columns:repeat(3,1fr); overflow:visible; }
  .property-card{ flex:none; max-width:none; }
  .trust-section{ max-width:1080px; margin:64px auto 0; border-radius:var(--radius-lg); }
  .category-grid{ grid-template-columns:repeat(4,1fr); }
  .why-list{ display:grid; grid-template-columns:repeat(3,1fr); }
}

/* Small-phone safety (360px) */
@media (max-width:374px){
  .hero-content h1{ font-size:28px; }
  .search-card{ margin-left:12px; margin-right:12px; padding:4px 14px 16px; }
  .property-card{ flex-basis:82%; }
}

/* ==========================================================
   SUB-PAGE HEAD (Properties / Enquiries / Profile)
========================================================== */
.page-head{ padding:22px 18px 4px; }
.page-back{
  display:inline-flex; align-items:center; gap:6px;
  color:var(--text-muted); font-size:13.5px; font-weight:600;
  margin-bottom:14px;
}
.page-head h1{ font-family:var(--font-head); font-size:24px; font-weight:800; color:var(--text); margin-bottom:4px; }
.page-head p{ color:var(--text-muted); font-size:13.5px; }

/* ==========================================================
   FILTER BAR (Properties page)
========================================================== */
.filter-bar{ padding:14px 18px 4px; }
.filter-scroll{
  display:flex; gap:8px;
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:12px;
}
.filter-scroll::-webkit-scrollbar{ display:none; }
.chip{
  flex-shrink:0;
  padding:8px 16px;
  border-radius:20px;
  border:1px solid var(--border);
  background:var(--white);
  color:var(--text-muted);
  font-size:13px; font-weight:600;
}
.chip.active{ background:var(--navy-deep); color:var(--white); border-color:var(--navy-deep); }
.filter-row{ display:flex; gap:10px; margin-bottom:6px; }
.filter-select{ flex:1; }
.filter-select select{
  width:100%;
  padding:10px 12px;
  border-radius:var(--radius-md);
  border:1px solid var(--border);
  background:var(--white);
  color:var(--text);
  font-size:13px; font-weight:600;
  appearance:none;
}

/* ==========================================================
   PROPERTIES GRID
========================================================== */
.properties-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.properties-grid .property-card{ flex:none; max-width:none; cursor:pointer; }
@media (min-width:640px){
  .properties-grid{ gap:16px; }
}
@media (min-width:960px){
  .properties-grid{
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
    max-width:1400px;
    margin:0 auto;
  }
}
@media (min-width:1280px){
  .properties-grid{
    grid-template-columns:repeat(4, 1fr);
  }
}

/* ==========================================================
   EMPTY STATE
========================================================== */
.empty-state{
  text-align:center;
  padding:50px 24px;
  color:var(--text-muted);
}
.empty-state svg{ margin-bottom:14px; }
.empty-state h3{ font-size:16px; color:var(--text); margin-bottom:6px; }
.empty-state p{ font-size:13.5px; max-width:280px; margin:0 auto 20px; line-height:1.5; }

/* ==========================================================
   ENQUIRIES LIST
========================================================== */
.enquiry-list{ display:flex; flex-direction:column; gap:12px; }
.enquiry-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  padding:16px;
  box-shadow:var(--shadow-card);
}
.enquiry-card-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:6px; }
.enquiry-card-top h3{ font-size:14.5px; font-weight:700; line-height:1.3; }
.enquiry-status{
  flex-shrink:0;
  background:rgba(242,181,43,0.15);
  color:var(--gold-dark);
  font-size:11px; font-weight:700;
  padding:4px 10px;
  border-radius:12px;
}
.enquiry-meta{ font-size:12.5px; color:var(--text-muted); margin-bottom:3px; }
.enquiry-message{ font-size:13px; color:var(--text); font-style:italic; margin:8px 0; line-height:1.4; }
.enquiry-card-foot{
  display:flex; justify-content:space-between;
  font-size:12px; color:var(--text-muted);
  margin-top:10px; padding-top:10px;
  border-top:1px solid var(--border);
}

/* ==========================================================
   PROFILE PAGE
========================================================== */
.profile-hub-card{
  background:var(--white);
  margin-bottom:18px;
}
.profile-hub-header{
  display:flex; align-items:center; gap:16px;
  padding:24px 22px;
  border-bottom:1px solid var(--border);
}
.profile-avatar{
  width:64px; height:64px;
  border-radius:50%;
  background:var(--gold);
  color:var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-body);
  font-weight:800; font-size:21px;
  flex-shrink:0;
}
.profile-name-block h2{ font-family:var(--font-body); color:var(--text); font-size:19px; font-weight:800; margin-bottom:3px; letter-spacing:0; }
.profile-name-block p{ color:var(--text-muted); font-size:13.5px; }
.profile-section{ margin-bottom:26px; }
.profile-section h3{ font-family:var(--font-head); font-size:15.5px; font-weight:700; margin-bottom:12px; }
.profile-form{ display:flex; flex-direction:column; gap:12px; }
.profile-form label{ display:flex; flex-direction:column; gap:6px; font-size:12.5px; font-weight:600; color:var(--text-muted); }
.profile-form input{
  padding:11px 12px;
  border-radius:var(--radius-md);
  border:1px solid var(--border);
  font-size:14px; color:var(--text);
  font-family:var(--font-body);
}
.profile-empty{ color:var(--text-muted); font-size:13.5px; line-height:1.5; }
.profile-reset{
  width:100%;
  padding:13px;
  border-radius:var(--radius-md);
  border:1px solid var(--border);
  background:var(--white);
  color:#C0392B;
  font-size:13.5px; font-weight:700;
  margin-top:6px;
}

/* ---- Profile menu (account hub) ---- */
.profile-menu{ display:flex; flex-direction:column; }
.profile-menu-item{
  display:flex; align-items:center; gap:14px;
  padding:18px 18px;
  border-bottom:1px solid var(--border);
  background:none; border-left:none; border-right:none; border-top:none;
  width:100%; text-align:left;
  font-family:var(--font-body); font-size:15px; font-weight:600;
  color:var(--text);
  touch-action:manipulation;
}
.profile-menu-item:last-child{ border-bottom:none; }
.profile-menu-item:active{ background:var(--bg-light); }
.profile-menu-icon{
  width:20px; height:20px; flex-shrink:0;
  color:var(--navy-deep);
  display:flex; align-items:center; justify-content:center;
}
.profile-menu-icon svg{ width:100%; height:100%; display:block; }
.profile-menu-item span:not(.profile-menu-icon):not(.profile-menu-chevron){ flex:1; white-space:nowrap; }
.profile-menu-chevron{ color:var(--text-muted); flex-shrink:0; width:14px; height:14px; display:flex; align-items:center; justify-content:center; }
.profile-menu-chevron svg{ width:100%; height:100%; display:block; }
.profile-logout-btn{
  display:block;
  width:calc(100% - 40px);
  margin:22px auto 6px;
  padding:16px;
  border-radius:999px;
  border:1.5px solid var(--border);
  background:var(--white);
  color:var(--text-muted);
  font-family:var(--font-body); font-size:15px; font-weight:700;
  text-align:center;
}
.profile-panel{ }
.profile-panel-back{
  display:inline-flex; align-items:center; gap:6px;
  background:none; border:none; padding:0;
  color:var(--text-muted); font-size:13.5px; font-weight:700;
  margin-bottom:14px;
  font-family:var(--font-body);
}
.profile-panel-back svg{ width:16px; height:16px; display:block; }
.profile-panel h3{ font-size:15.5px; font-weight:700; margin-bottom:12px; }

/* ==========================================================
   STATS BAR
========================================================== */
.stats-bar{
  grid-column:1 / -1;
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:8px; text-align:center;
  color:var(--white);
}
.stat-item{ display:flex; flex-direction:column; gap:4px; }
.stat-num{ font-family:var(--font-head); font-size:22px; font-weight:700; color:var(--gold); }
.stat-lbl{ font-size:11px; color:#cfd3dc; letter-spacing:.02em; }
@media (max-width:420px){
  .stat-num{ font-size:18px; }
  .stat-lbl{ font-size:10px; }
}

/* ==========================================================
   REVIEW CAROUSEL (text testimonials, one at a time)
========================================================== */
.review-carousel{ display:flex; align-items:center; gap:10px; }
.review-track{
  flex:1;
  overflow:hidden;
  position:relative;
  border-radius:var(--radius-lg);
}
.review-slide{
  display:none;
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  animation:reviewFadeIn .35s ease;
}
.review-slide.active{ display:block; }
@keyframes reviewFadeIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }
.review-slide-body{ padding:20px 18px; }
.review-stars{ display:flex; gap:2px; margin-bottom:10px; }
.review-text{ font-size:14px; line-height:1.55; color:var(--text-dark); font-style:italic; margin:0 0 14px; }
.review-author{ display:flex; flex-direction:column; }
.review-author-name{ font-size:13.5px; font-weight:700; color:var(--navy-deep); }
.review-author-loc{ font-size:12px; color:var(--text-muted); }
.review-carousel .carousel-arrow{ position:relative; }
.review-carousel .carousel-arrow[disabled]{ opacity:0.35; pointer-events:none; }

/* ==========================================================
   SHARED MEDIA LIGHTBOX (images + video) — Reviews, Gallery, etc.
========================================================== */
.media-lightbox{
  position:fixed; inset:0; background:#000;
  height:100vh; height:100dvh;
  display:none; align-items:center; justify-content:center;
  z-index:300; padding:0;
}
.media-lightbox.open{ display:flex; }
.media-lightbox img, .media-lightbox video{
  width:100%; height:100%;
  max-width:none; max-height:none;
  border-radius:0;
  object-fit:contain;
}
.media-lightbox-close{
  position:absolute; top:calc(16px + env(safe-area-inset-top)); right:16px;
  background:rgba(255,255,255,.14); color:#fff; border:none;
  width:40px; height:40px; border-radius:50%; font-size:22px;
  cursor:pointer; line-height:1; z-index:2;
  backdrop-filter:blur(6px);
}

/* ==========================================================
   FLOATING WHATSAPP BUTTON
========================================================== */
.wa-float{
  position:fixed; right:18px; bottom:calc(78px + env(safe-area-inset-bottom)); z-index:250;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,.28);
  text-decoration:none;
}
.wa-float:hover{ filter:brightness(1.05); }
@media (min-width:960px){
  .wa-float{ bottom:22px; }
}

/* ==========================================================
   BACK TO TOP
========================================================== */
.back-to-top{
  position:fixed; right:18px; bottom:calc(146px + env(safe-area-inset-bottom)); z-index:245;
  width:44px; height:44px; border-radius:50%;
  background:var(--navy-deep); color:var(--gold);
  border:1.5px solid rgba(240,196,141,0.4);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,.28);
  opacity:0; transform:translateY(10px);
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}
.back-to-top.show{ opacity:1; transform:translateY(0); pointer-events:auto; }
.back-to-top:active{ transform:scale(0.94); }
@media (min-width:960px){
  .back-to-top{ bottom:88px; }
}

/* ==========================================================
   "JUST BOOKED" SOCIAL-PROOF TOAST
========================================================== */
.booked-toast{
  position:fixed; right:14px; left:auto; bottom:calc(150px + env(safe-area-inset-bottom)); z-index:240;
  max-width:220px; background:var(--navy-dark); color:#fff;
  border:1px solid rgba(240,196,141,.25); border-radius:12px;
  padding:8px 28px 8px 11px; box-shadow:0 10px 24px rgba(0,0,0,.3);
  opacity:0; transform:translateY(12px); pointer-events:none;
  transition:opacity .3s ease, transform .3s ease;
}
.booked-toast.show{ opacity:1; transform:translateY(0); pointer-events:auto; }
.booked-toast-title{ font-size:11.5px; font-weight:700; color:var(--gold); margin:0 0 2px; }
.booked-toast-body{ font-size:11px; line-height:1.35; margin:0; color:#e9e7e0; }
.booked-toast-time{ font-size:10px; margin:1px 0 0; color:#9a9686; }
.booked-toast-close{
  position:absolute; top:5px; right:8px; background:none; border:none;
  color:#9a9686; font-size:15px; cursor:pointer; line-height:1;
}
@media (min-width:960px){
  .booked-toast{ bottom:92px; right:22px; }
}
@media (max-width:480px){
  .wa-float{ right:14px; width:50px; height:50px; }
  .booked-toast{ right:14px; left:auto; max-width:min(230px, calc(100vw - 28px)); }
}

/* ==========================================================
   BOOKING MODAL (checkout) EXTRAS
========================================================== */
.modal-price{ font-family:var(--font-head); color:var(--gold-dark); font-weight:700; margin:-6px 0 10px; font-size:15px; }
.date-row{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.date-row label{ margin-bottom:0; }

.guest-counter-label{ display:flex; align-items:center; justify-content:space-between; }
.guest-counter{ display:flex; align-items:center; gap:14px; }
.counter-btn{
  width:30px; height:30px; border-radius:50%; border:1px solid var(--border);
  background:var(--bg-light); font-size:17px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; color:var(--navy-deep);
}
#guestCount{ min-width:16px; text-align:center; font-weight:700; }

.payment-methods{ margin:6px 0 4px; }
.payment-label{ font-size:12.5px; font-weight:700; color:var(--text-muted); margin:0 0 8px; }
.payment-options{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.payment-options.two-up{ grid-template-columns:1fr 1fr; }
.payment-btn{
  border:1.5px solid var(--border); background:var(--white); border-radius:10px;
  padding:10px 6px; font-size:12.5px; font-weight:600; cursor:pointer; color:var(--text);
}
.payment-btn.active{ border-color:var(--gold-dark); background:#FBF1E1; color:var(--navy-deep); }
.payment-hint{ font-size:11px; color:var(--text-muted); margin:8px 0 0; }

.price-summary{ background:var(--bg-light); border-radius:10px; padding:12px 14px; margin:14px 0; }
.summary-hint{ font-size:12.5px; color:var(--text-muted); margin:0; }
.summary-row{ display:flex; justify-content:space-between; font-size:13px; color:var(--text); padding:3px 0; }
.summary-row.total{ font-weight:700; border-top:1px solid var(--border); margin-top:4px; padding-top:8px; }

/* ==========================================================
   AMENITIES LIST (property detail)
========================================================== */
.amenities-list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.amenities-list li{
  position:relative; padding-left:24px; font-size:14px; color:var(--text);
}
.amenities-list li::before{
  content:"✓"; position:absolute; left:0; top:0; color:var(--gold-dark); font-weight:700;
}

/* ==========================================================
   LISTINGS PAGE — LARGER CARDS (properties.html grid only)
========================================================== */
#propertiesGridRoot{ grid-template-columns:1fr; gap:18px; }
#propertiesGridRoot .property-media{ padding-top:58%; }
#propertiesGridRoot .property-info{ padding:18px 18px 20px; }
#propertiesGridRoot .property-info h3{ font-size:19px; margin-bottom:7px; }
#propertiesGridRoot .property-location{ font-size:14px; }
#propertiesGridRoot .property-meta{ font-size:13.5px; gap:12px; }
#propertiesGridRoot .property-price{ font-size:18px; }
#propertiesGridRoot .property-price .per{ font-size:13px; }
#propertiesGridRoot .property-badge{ font-size:12px; padding:6px 12px; }

/* ==========================================================
   GALLERY PAGE
========================================================== */
.gallery-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.gallery-item{
  position:relative; border:none; padding:0; cursor:pointer; border-radius:12px; overflow:hidden;
  aspect-ratio:1/1; background:var(--navy-deep);
}
.gallery-item img, .gallery-item video{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery-play-icon{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:40px; height:40px; border-radius:50%; background:rgba(0,0,0,.5);
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:14px;
}
.gallery-item-label{
  position:absolute; left:0; right:0; bottom:0; padding:8px 10px 6px;
  background:linear-gradient(0deg, rgba(0,0,0,.65), transparent);
  color:#fff; font-size:11.5px; font-weight:600; text-align:left;
}

/* ==========================================================
   REVIEWS PAGE
========================================================== */
.review-page-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
.review-page-card{ border-radius:14px; border:1px solid var(--border); background:var(--white); padding:18px; }
.reviews-page-actions{ display:grid; gap:10px; margin-top:20px; }

.clear-filters{ color:var(--gold-dark); font-weight:700; text-decoration:none; margin-left:4px; }

/* ==========================================================
   LEGAL PAGES (Privacy / Terms)
========================================================== */
.legal-content{ padding:4px 2px 24px; }
.legal-content p{ font-size:14px; line-height:1.7; color:var(--text); margin:0 0 14px; }
.legal-content h3{ font-size:16px; margin:22px 0 8px; }
.legal-content a{ color:var(--gold-dark); }
.legal-content ul{ margin:0 0 14px; padding-left:20px; font-size:14px; line-height:1.7; color:var(--text); }

/* ==========================================================
   FOOTER LEGAL LINKS
========================================================== */
.footer-legal{ display:flex; justify-content:center; gap:14px; margin-top:10px; }
.footer-legal a{ color:#cfd3dc; font-size:12px; text-decoration:underline; }

/* ==========================================================
   FAQ PAGE
========================================================== */
.faq-list{ display:flex; flex-direction:column; gap:10px; }
.faq-item{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  overflow:hidden;
}
.faq-question{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
  background:none;
  border:none;
  text-align:left;
  font-family:var(--font-head);
  font-weight:700;
  font-size:14.5px;
  color:var(--text);
  cursor:pointer;
}
.faq-chevron{
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  color:var(--gold-dark);
  transition:transform .2s ease;
}
.faq-chevron svg{ width:100%; height:100%; display:block; }
.faq-item.open .faq-chevron{ transform:rotate(90deg); }
.faq-answer{
  display:grid;
  grid-template-rows:0fr;
  overflow:hidden;
  transition:grid-template-rows .25s ease;
}
.faq-item.open .faq-answer{ grid-template-rows:1fr; }
.faq-answer > div{ min-height:0; overflow:hidden; }
.faq-answer p{
  margin:0 18px 16px;
  font-size:13.5px;
  line-height:1.6;
  color:var(--text-muted);
}

/* Keep the floating WhatsApp button off the booking form / drawers */
body.no-scroll #waFloat{ display:none !important; }

/* No resize grip (the two little diagonal lines) on any text box */
textarea{ resize:none !important; }

/* ==========================================================
   HOME PAGE: GALLERY STRIP
========================================================== */
.home-gallery{
  display:flex; gap:12px; overflow-x:auto; padding:2px 2px 10px;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; scrollbar-width:none;
}
.home-gallery::-webkit-scrollbar{ display:none; }
.home-gallery-item{
  position:relative; flex:0 0 64%; max-width:270px; aspect-ratio:4/3;
  border:none; padding:0; border-radius:14px; overflow:hidden; cursor:pointer;
  background:var(--bg-light); scroll-snap-align:start; box-shadow:0 6px 16px rgba(7,21,47,0.10);
}
.home-gallery-item img, .home-gallery-item video{ width:100%; height:100%; object-fit:cover; display:block; }
.home-gallery-item .hg-play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:26px; text-shadow:0 2px 8px rgba(0,0,0,0.5); pointer-events:none;
}

/* ==========================================================
   NOTIFICATIONS (guest page + unread badge on the profile menu)
========================================================== */
.notif-message{ font-size:13.5px; color:var(--text); line-height:1.5; margin:6px 0 8px; white-space:pre-line; }
.enquiry-card.notif-unread{ border-color:var(--gold-dark); }
.menu-badge{
  flex:0 0 auto !important;
  min-width:20px; height:20px; padding:0 6px; border-radius:10px;
  background:var(--burgundy); color:#fff;
  font-size:11.5px; font-weight:700; line-height:20px; text-align:center;
}

/* ==========================================================
   LOAD GUARD — placeholders, slow-load message, banners
========================================================== */
.lg-slow > :not(.lg-msg){ display:none !important; }
.lg-msg{
  grid-column:1 / -1; flex:1 1 100%; width:100%;
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px;
  padding:34px 22px; background:var(--white); border:1px dashed var(--border); border-radius:var(--radius-md);
  color:var(--text-muted);
}
.lg-msg svg{ color:var(--gold-dark); }
.lg-msg h3{ font-size:17px; color:var(--text); margin:4px 0 0; }
.lg-msg p{ font-size:14px; line-height:1.55; max-width:340px; margin:0 0 6px; }
.lg-review{ flex:0 0 78%; background:var(--white); border:1px solid var(--border); border-radius:var(--radius-md); padding:18px; }
.lg-tile{ height:96px; border-radius:var(--radius-md); }
.lg-chip{ flex:0 0 auto; width:104px; }
.lg-chip-img{ width:104px; height:84px; border-radius:var(--radius-md); }
.lg-detail-img{ width:100%; padding-top:62%; border-radius:var(--radius-md); }
.property-scroll .skeleton-card{ flex:0 0 78%; max-width:300px; }
.lg-banner{
  position:fixed; left:50%; top:76px; transform:translate(-50%, -14px); z-index:200;
  max-width:min(92vw, 520px); padding:12px 18px; border-radius:12px;
  background:#2b1a1f; color:#fff; font-size:13.5px; font-weight:600; text-align:center;
  box-shadow:0 12px 32px rgba(0,0,0,.28); opacity:0; pointer-events:none; transition:opacity .25s ease, transform .25s ease;
}
.lg-banner.show{ opacity:1; transform:translate(-50%, 0); }
.lg-img-failed{ background:linear-gradient(135deg, #ece7da, #f6f3ea); position:relative; }
.lg-img-failed::after{
  content:"Photo unavailable"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:12.5px; font-weight:600; color:var(--text-muted);
}
/* photos that are still arriving show a shimmer instead of a blank gap */
.property-media, .location-chip-img, .gallery-main, .gallery-thumb{ background-color:#ece7da; }

/* Apartment names are real links (so Google can follow them); they look the same as before */
.property-card-link{ color:inherit; text-decoration:none; }
.property-card-link:focus-visible{ outline:2px solid var(--gold-dark); outline-offset:3px; border-radius:4px; }

/* Guest rating summary (phones: compact; desktop.css makes it a full card) */
.reviews-summary:empty{ display:none; }
.reviews-summary{
  margin:6px 18px 14px; padding:16px 20px; background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius-md); display:flex; align-items:center; gap:16px;
}
.reviews-summary .rs-score{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.reviews-summary .rs-num{ font-family:var(--font-head); font-size:34px; font-weight:700; line-height:1; color:var(--text); }
.reviews-summary .review-stars{ margin:0; }
.reviews-summary .rs-based{ font-size:13px; color:var(--text-muted); width:100%; }
.reviews-summary .rs-bars{ display:none; }

/* booking form extras */
.modal select{ appearance:none; -webkit-appearance:none; background-image:linear-gradient(45deg,transparent 50%,#6B6558 50%),linear-gradient(135deg,#6B6558 50%,transparent 50%); background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%; background-size:6px 6px,6px 6px; background-repeat:no-repeat; padding-right:38px; }
.modal textarea{ resize:none; min-height:78px; font-family:inherit; }
.field-hint{ display:block; font-size:12px; font-weight:400; color:var(--text-muted); text-align:center; margin-top:2px; }
.modal select:focus{ background-image:linear-gradient(45deg,transparent 50%,#6B6558 50%),linear-gradient(135deg,#6B6558 50%,transparent 50%); background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%; background-size:6px 6px,6px 6px; background-repeat:no-repeat; }
