/* ============================================================
   DANANG LANDLORD – Premium Edition
   style.css
   ============================================================ */

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

:root {
  /* Palette */
  --black:      #0a0a0f;
  --navy:       #0d1117;
  --dark:       #12161d;
  --card-bg:    #161b24;
  --border:     rgba(255,255,255,.07);
  --gold:       #c9a84c;
  --gold-light: #e8c97e;
  --red:        #e63946;
  --teal:       #2a9d8f;
  --white:      #ffffff;
  --text-main:  #e8eaf0;
  --text-muted: #8892a4;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Sizes */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,.25);
  --shadow-md:  0 8px 32px rgba(0,0,0,.35);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.45);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; object-fit: cover; }
select option { background: #0f172a; color: #ffffff; }

.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* ===========================
   PRELOADER
=========================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 900;
  color: var(--white); letter-spacing: 4px; margin-bottom: 20px;
}
.preloader-logo span { color: var(--gold); }
.preloader-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden;
  margin: 0 auto;
}
.preloader-fill {
  height: 100%; width: 0; background: var(--gold);
  animation: loadBar 1.6s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* ===========================
   TOPBAR
=========================== */
.topbar {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  font-size: .75rem; padding: 8px 0;
}
.topbar-inner {
  max-width: 1220px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-left a { color: var(--text-muted); transition: color var(--transition); display: flex; align-items: center; gap: 6px; }
.topbar-left a:hover { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-right a {
  color: var(--text-muted);
  font-size: .8rem;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
}
.topbar-right a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.topbar-right a.topbar-fb:hover   { background: #1877f2; color: #fff; border-color: #1877f2; }
.topbar-right a.topbar-zalo:hover { background: #0068ff; color: #fff; border-color: #0068ff; }
.topbar-right a.topbar-wa:hover   { background: #25d366; color: #fff; border-color: #25d366; }
.topbar-right a.topbar-tg:hover   { background: #229ed9; color: #fff; border-color: #229ed9; }
.zalo-icon-text {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  font-weight: 900;
  font-size: .72rem;
  line-height: 1;
}
.sep { color: var(--border); }
/* ---- LANGUAGE SWITCHER ---- */
.lang-switcher {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 24px; padding: 3px;
  backdrop-filter: blur(8px);
}
.nav-lang-switcher {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(201,168,76,.25);
}
.lang-divider {
  width: 1px; height: 14px;
  background: var(--border);
}
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none;
  color: var(--text-muted); font-size: .74rem; font-weight: 600;
  cursor: pointer; padding: 4px 10px; border-radius: 18px;
  letter-spacing: .5px; transition: all var(--transition);
  font-family: var(--font-sans);
  user-select: none;
}
.lang-btn * { pointer-events: none; }
.lang-btn .lang-flag { font-size: .9rem; line-height: 1; }
.lang-btn .lang-code { font-size: .7rem; letter-spacing: 1px; font-weight: 700; }
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,.1); }
.lang-btn.active-lang, .lang-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
  box-shadow: 0 2px 10px rgba(201,168,76,.4);
  font-weight: 800;
}

/* Switch pulse animation */
@keyframes langPulse {
  0%   { box-shadow: 0 0 0 0   rgba(201,168,76,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
  100% { box-shadow: 0 0 0 0   rgba(201,168,76,0); }
}
.lang-btn.active-lang, .lang-btn.active { animation: langPulse .5s ease; }

/* ===========================
   HEADER / NAVBAR
=========================== */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(10,10,15,.96);
  backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(8,8,12,.99);
  box-shadow: 0 4px 40px rgba(0,0,0,.6);
  border-bottom-color: rgba(201,168,76,.12);
}

.nav-inner {
  max-width: 1220px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 24px; height: 70px;
}

/* ── Logo ── */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1rem; font-weight: 900;
  color: var(--black); letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(201,168,76,.35);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-top    { font-size: 1.05rem; font-weight: 800; color: var(--white); letter-spacing: .5px; }
.logo-bottom { font-size: .62rem; letter-spacing: 2.5px; color: var(--gold); font-weight: 700; margin-top: 1px; }

/* ── Nav links ── */
.nav-links {
  display: flex; align-items: center; gap: 0; flex: 1; justify-content: center;
}
.nav-links > li { position: relative; }

.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 15px;
  color: rgba(255,255,255,.65);
  font-size: .82rem; font-weight: 500; letter-spacing: .2px;
  border-radius: 8px; transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav-link.active { color: var(--gold); background: rgba(201,168,76,.1); }
.nav-link .fa-chevron-down { font-size: .6rem; opacity: .6; transition: transform var(--transition); }
.has-dropdown:hover .nav-link .fa-chevron-down { transform: rotate(180deg); opacity: 1; }

/* ── Mega dropdown – bright & readable ── */
.mega-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 0;
  display: flex; min-width: 580px;
  box-shadow: 0 24px 60px rgba(0,0,0,.18), 0 4px 16px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transition: all var(--transition);
  overflow: hidden;
}
/* Connecting bridge so hover doesn't break */
.mega-dropdown::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.has-dropdown:hover .mega-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}

/* Left panel – dark sidebar */
.mega-left {
  background: var(--dark);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 0;
  min-width: 190px;
}
/* Right panel – white content */
.mega-right {
  flex: 1; padding: 28px 28px 24px;
  display: flex; gap: 32px;
}

.mega-col { flex: 1; }
.mega-col h5 {
  font-size: .65rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid;
}
/* Sidebar headings */
.mega-left .mega-col h5 { color: var(--gold); border-color: rgba(201,168,76,.3); }
/* Right headings */
.mega-right .mega-col h5 { color: #333; border-color: #e8e8e8; }

/* Sidebar links */
.mega-left .mega-col a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; margin-bottom: 4px;
  color: rgba(255,255,255,.65); font-size: .84rem; font-weight: 500;
  transition: all var(--transition); border: none;
}
.mega-left .mega-col a:last-child { border: none; }
.mega-left .mega-col a i {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: grid; place-items: center;
  color: var(--gold); font-size: .8rem; flex-shrink: 0;
  transition: all var(--transition);
}
.mega-left .mega-col a:hover {
  background: rgba(201,168,76,.12); color: var(--white);
}
.mega-left .mega-col a:hover i { background: var(--gold); color: var(--black); }

/* Right-panel links */
.mega-right .mega-col a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 9px; margin-bottom: 2px;
  color: #555; font-size: .84rem; font-weight: 500;
  transition: all var(--transition); border: none;
}
.mega-right .mega-col a:last-child { border: none; }
.mega-right .mega-col a i {
  width: 26px; height: 26px; border-radius: 7px;
  background: #f5f0e8;
  display: grid; place-items: center;
  color: var(--gold); font-size: .75rem; flex-shrink: 0;
  transition: all var(--transition);
}
.mega-right .mega-col a:hover { background: #faf6ed; color: #111; }
.mega-right .mega-col a:hover i { background: var(--gold); color: #fff; }

/* Featured property card inside dropdown */
.mega-featured { }
.mega-prop {
  margin-top: 4px; border-radius: 12px; overflow: hidden;
  border: 1px solid #eee; cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}
.mega-prop:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.mega-prop-img { position: relative; height: 110px; overflow: hidden; }
.mega-prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mega-prop:hover .mega-prop-img img { transform: scale(1.05); }
.mega-prop-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--gold); color: #000;
  font-size: .6rem; font-weight: 800; padding: 3px 9px;
  border-radius: 20px; letter-spacing: .5px; text-transform: uppercase;
}
.mega-prop-body { padding: 10px 12px 12px; }
.mega-prop-body p { font-size: .82rem; font-weight: 600; color: #222; margin-bottom: 4px; }
.mega-prop-price { font-size: .8rem; font-weight: 700; color: var(--gold); }
.mega-prop-loc { font-size: .7rem; color: #999; margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.mega-prop-loc i { color: var(--gold); font-size: .65rem; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cta-phone {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black); padding: 10px 20px; border-radius: 50px;
  font-size: .78rem; font-weight: 800; letter-spacing: .3px;
  transition: all var(--transition); white-space: nowrap;
  box-shadow: 0 4px 14px rgba(201,168,76,.3);
}
.cta-phone:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,.5); }
.cta-phone i { font-size: .85rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================
   HERO - COMPACT LUXURY BANNER
=========================== */
.hero {
  position: relative;
  height: 380px;
  min-height: 350px;
  max-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
  transform: scale(1.02);
  animation: heroZoom 8s ease-in-out infinite alternate;
}
.hero-slide.active { opacity: 1; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.05); } }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,15,.88) 0%,
    rgba(10,10,15,.65) 55%,
    rgba(10,10,15,.35) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 660px; padding: 0 50px;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: .72rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }

.hero-title {
  font-family: var(--font-serif);
  display: flex; flex-direction: column;
  margin-bottom: 12px;
}
.hero-title .line1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 400; color: var(--white);
  letter-spacing: -0.5px; line-height: 1.15;
  animation: slideUp .6s ease both;
}
.hero-title .line2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -1px; line-height: 1.1;
  animation: slideUp .6s .1s ease both;
}
.hero-title .line2 em { color: var(--gold); font-style: italic; }

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

.hero-desc {
  color: rgba(255,255,255,.75); font-size: .88rem; line-height: 1.5;
  margin-bottom: 20px;
  animation: slideUp .6s .2s ease both;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: slideUp .6s .3s ease both; }
.hero-actions .btn-primary, .hero-actions .btn-ghost {
  padding: 10px 22px; font-size: .85rem; border-radius: 8px;
}

.hero-nav {
  position: absolute; bottom: 18px; right: 50px; z-index: 2;
  display: flex; gap: 8px;
}
.hn-btn {
  width: 24px; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,.3); border: none; cursor: pointer;
  transition: all var(--transition);
}
.hn-btn.active { width: 40px; background: var(--gold); }

.hero-stats {
  display: none;
}

.hero-scroll-hint {
  display: none;
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black); padding: 14px 30px; border-radius: 50px;
  font-weight: 700; font-size: .88rem; letter-spacing: .3px;
  transition: all var(--transition); white-space: nowrap;
  box-shadow: 0 4px 20px rgba(201,168,76,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,.5); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--white); padding: 14px 30px; border-radius: 50px;
  font-weight: 500; font-size: .88rem;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px); transition: all var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); border: 1px solid rgba(201,168,76,.4);
  padding: 10px 22px; border-radius: 50px; font-size: .82rem; font-weight: 600;
  transition: all var(--transition); white-space: nowrap;
}
.btn-outline:hover { background: rgba(201,168,76,.1); border-color: var(--gold); }

/* ===========================
   EYEBROW / SECTION HELPERS
=========================== */
.eyebrow {
  display: inline-block; color: var(--gold);
  font-size: .72rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow.light { color: rgba(201,168,76,.7); }

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; color: var(--white); line-height: 1.25;
}
h2 em { color: var(--gold); font-style: italic; }
h2.light { color: var(--white); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px; gap: 20px; flex-wrap: wrap;
}
.section-head.centered { flex-direction: column; align-items: center; text-align: center; }
.section-head-left { }

/* ===========================
   SEARCH SECTION
=========================== */
.search-section {
  background: var(--dark); border-top: 1px solid var(--border);
  padding: 0 24px 32px; position: relative; z-index: 10;
}
.search-wrapper { max-width: 1100px; margin: 0 auto; }

.search-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); }
.stab {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 24px; background: none; border: none;
  color: var(--text-muted); font-size: .82rem; font-weight: 500;
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-family: var(--font-sans); transition: all var(--transition);
}
.stab:hover { color: var(--white); }
.stab.active { color: var(--gold); border-bottom-color: var(--gold); }

.search-form { padding-top: 24px; }
.sf-fields { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.sf-field {
  flex: 1; min-width: 160px;
  display: flex; flex-direction: column; gap: 6px;
}
.sf-field label {
  display: flex; align-items: center; gap: 6px;
  font-size: .68rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: 1px; text-transform: uppercase;
}
.sf-field label i { color: var(--gold); }
.sf-field select, .sf-field input {
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--text-main); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: .84rem; font-family: var(--font-sans);
  transition: all var(--transition); appearance: none;
}
.sf-field select:focus, .sf-field input:focus {
  outline: none; border-color: var(--gold);
  background: rgba(201,168,76,.05); box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.sf-field select option { background: var(--dark); color: var(--text-main); }

.sf-submit {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black); border: none; border-radius: var(--radius-sm);
  padding: 12px 28px; font-weight: 700; font-size: .84rem;
  cursor: pointer; font-family: var(--font-sans); transition: all var(--transition);
  white-space: nowrap; align-self: flex-end;
}
.sf-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,168,76,.4); }

/* ---- Advanced Filters ---- */
.sf-advanced {
  display: none; flex-wrap: wrap; gap: 12px;
  padding-top: 18px; margin-top: 18px;
  border-top: 1px solid var(--border);
  animation: fadeSlideDown .35s ease;
}
.sf-advanced.open { display: flex; }

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

/* Price range dual inputs */
.sf-range-group {
  display: flex; align-items: center; gap: 6px;
}
.sf-range-input {
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--text-main); border-radius: var(--radius-sm);
  padding: 11px 12px; font-size: .84rem; font-family: var(--font-sans);
  transition: all var(--transition); width: 100%;
  -moz-appearance: textfield;
}
.sf-range-input::-webkit-inner-spin-button,
.sf-range-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sf-range-input:focus {
  outline: none; border-color: var(--gold);
  background: rgba(201,168,76,.05); box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.sf-range-sep {
  color: var(--text-muted); font-size: .9rem; flex-shrink: 0;
}

/* Toggle switch */
.sf-check-field { min-width: 140px; flex: 0 1 auto; }
.sf-toggle-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
}
.sf-toggle {
  position: relative; display: inline-block;
  width: 42px; height: 24px; flex-shrink: 0;
}
.sf-toggle input { opacity: 0; width: 0; height: 0; }
.sf-toggle-slider {
  position: absolute; inset: 0; cursor: pointer;
  background: rgba(255,255,255,.1); border-radius: 24px;
  transition: all var(--transition);
}
.sf-toggle-slider::before {
  content: ''; position: absolute;
  width: 18px; height: 18px; left: 3px; bottom: 3px;
  background: var(--text-muted); border-radius: 50%;
  transition: all var(--transition);
}
.sf-toggle input:checked + .sf-toggle-slider {
  background: var(--gold);
}
.sf-toggle input:checked + .sf-toggle-slider::before {
  background: var(--black);
  transform: translateX(18px);
}
.sf-toggle-label {
  font-size: .8rem; color: var(--text-muted);
  white-space: nowrap;
}

/* Toggle advanced button */
.sf-toggle-advanced {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 8px 16px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted); font-size: .78rem; font-weight: 500;
  cursor: pointer; font-family: var(--font-sans);
  transition: all var(--transition);
}
.sf-toggle-advanced:hover { color: var(--gold); border-color: rgba(201,168,76,.3); }
.sf-toggle-advanced .sf-arrow { transition: transform var(--transition); font-size: .65rem; }
.sf-toggle-advanced.active .sf-arrow { transform: rotate(180deg); }
.sf-toggle-advanced.active { color: var(--gold); border-color: rgba(201,168,76,.3); background: rgba(201,168,76,.05); }

/* ===========================
   ABOUT SECTION
=========================== */
.about-section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-images { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg); overflow: hidden; height: 420px;
  box-shadow: var(--shadow-lg);
}
.about-img-side {
  position: absolute; bottom: -40px; right: -30px;
  width: 180px; height: 150px; border-radius: var(--radius-md); overflow: hidden;
  border: 4px solid var(--dark); box-shadow: var(--shadow-md);
}
.about-badge-float {
  position: absolute; top: 30px; left: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black); border-radius: var(--radius-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
}
.about-badge-float i { font-size: 1.3rem; }
.about-badge-float strong { display: block; font-size: 1.2rem; font-weight: 900; }
.about-badge-float span { font-size: .72rem; font-weight: 600; }

.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--text-muted); font-size: .92rem; line-height: 1.8; margin-bottom: 24px; }

.about-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.af-item { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: .84rem; }
.af-item i { color: var(--gold); font-size: .9rem; flex-shrink: 0; }

/* ===========================
   LISTINGS SECTION
=========================== */
.listings-section { padding: 90px 0; }

.filter-bar { display: flex; gap: 6px; }
.fb {
  padding: 8px 20px; border-radius: 50px;
  border: 1px solid var(--border); background: none;
  color: var(--text-muted); font-size: .78rem; font-weight: 500;
  cursor: pointer; font-family: var(--font-sans); transition: all var(--transition);
}
.fb:hover { border-color: var(--gold); color: var(--gold); }
.fb.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent; color: var(--black); font-weight: 700;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Property Card */
.prop-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
}
.prop-card:hover { transform: translateY(-8px); border-color: rgba(201,168,76,.2); box-shadow: var(--shadow-lg); }

.featured-card {
  border-color: rgba(201,168,76,.3);
  box-shadow: 0 0 0 1px rgba(201,168,76,.1);
}

.pc-image { position: relative; height: 230px; overflow: hidden; }
.pc-image img { height: 100%; transition: transform .6s ease; }
.prop-card:hover .pc-image img { transform: scale(1.07); }

.pc-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,15,.5); backdrop-filter: blur(4px);
  display: grid; place-items: center;
  opacity: 0; transition: opacity var(--transition);
}
.prop-card:hover .pc-overlay { opacity: 1; }
.pc-btn-view {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black); border: none; border-radius: 50px;
  padding: 12px 24px; font-weight: 700; font-size: .82rem;
  cursor: pointer; font-family: var(--font-sans);
  transform: translateY(10px); transition: all var(--transition);
}
.prop-card:hover .pc-btn-view { transform: translateY(0); }

.pc-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; }
.tag-type {
  padding: 5px 12px; border-radius: 50px; font-size: .68rem; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  background: rgba(201,168,76,.9); color: var(--black); backdrop-filter: blur(8px);
}
.tag-type.tag-house { background: rgba(42,157,143,.9); color: var(--white); }
.tag-type.tag-villa { background: rgba(230,57,70,.9); color: var(--white); }
.tag-hot {
  padding: 5px 12px; border-radius: 50px; font-size: .68rem; font-weight: 700;
  background: rgba(10,10,15,.75); color: var(--gold); backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,.4);
}

.pc-fav {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(10,10,15,.6); backdrop-filter: blur(10px);
  border: 1px solid var(--border); color: var(--text-muted);
  cursor: pointer; display: grid; place-items: center; font-size: .9rem;
  transition: all var(--transition);
}
.pc-fav:hover, .pc-fav.active { background: var(--red); border-color: var(--red); color: var(--white); }

.pc-price {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(10,10,15,.8); backdrop-filter: blur(12px);
  color: var(--white); padding: 7px 14px; border-radius: 50px; font-size: .88rem; font-weight: 700;
  border: 1px solid rgba(201,168,76,.2);
}
.pc-price small { font-size: .68rem; font-weight: 400; color: var(--text-muted); }

.pc-body { padding: 20px; }

.pc-rating { display: flex; align-items: center; gap: 3px; margin-bottom: 10px; }
.pc-rating i { color: var(--gold); font-size: .75rem; }
.pc-rating span { font-size: .75rem; color: var(--text-muted); margin-left: 5px; }

.pc-body h3 {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 8px; line-height: 1.35;
}
.pc-loc { color: var(--text-muted); font-size: .78rem; display: flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.pc-loc i { color: var(--gold); }

.pc-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.pc-specs span {
  display: flex; align-items: center; gap: 7px;
  font-size: .76rem; color: var(--text-muted);
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  padding: 7px 10px; border-radius: 8px;
}
.pc-specs i { color: var(--gold); width: 14px; text-align: center; }

.pc-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); }
.pc-code { font-size: .72rem; font-weight: 600; color: var(--gold); letter-spacing: 1px; }
.pc-actions { display: flex; gap: 8px; }
.pc-actions button {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border); background: none; color: var(--text-muted);
  cursor: pointer; font-size: .78rem; transition: all var(--transition);
}
.pc-actions button:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.08); }

.prop-card.hidden { display: none; }

.listings-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; flex-wrap: wrap; gap: 16px; }
.pagination { display: flex; gap: 8px; }
.pg {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: none; color: var(--text-muted);
  font-size: .84rem; cursor: pointer; font-family: var(--font-sans);
  transition: all var(--transition); display: grid; place-items: center;
}
.pg.active { background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-color: transparent; color: var(--black); font-weight: 700; }
.pg:hover:not(.active) { border-color: var(--gold); color: var(--gold); }

/* ===========================
   MAP SECTION
=========================== */
.map-section {
  padding: 100px 0;
  background: var(--dark);
}
.map-subtitle {
  color: var(--text-muted); font-size: .9rem;
  margin-top: 10px;
}
.map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
#propertyMap {
  width: 100%; height: 520px;
  background: var(--card-bg);
}

/* Dark map tiles override */
.leaflet-tile-pane { filter: brightness(.7) invert(1) contrast(1.2) hue-rotate(200deg) saturate(.25); }
.leaflet-control-attribution { display: none !important; }
.leaflet-control-zoom a {
  background: var(--card-bg) !important; color: var(--gold) !important;
  border-color: var(--border) !important;
}
.leaflet-control-zoom a:hover { background: var(--gold) !important; color: var(--black) !important; }

/* Custom popup */
.leaflet-popup-content-wrapper {
  background: var(--card-bg) !important; color: var(--text-main) !important;
  border-radius: var(--radius-md) !important; border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-md) !important; padding: 0 !important;
}
.leaflet-popup-tip { background: var(--card-bg) !important; border: 1px solid var(--border) !important; }
.leaflet-popup-close-button { color: var(--text-muted) !important; font-size: 20px !important; }
.leaflet-popup-close-button:hover { color: var(--gold) !important; }

.map-popup { padding: 14px 16px; min-width: 220px; }
.map-popup-img {
  width: 100%; height: 120px; object-fit: cover;
  border-radius: var(--radius-sm); margin-bottom: 10px;
}
.map-popup h4 {
  font-family: var(--font-serif); font-size: .95rem;
  margin-bottom: 4px; color: var(--white);
}
.map-popup .mp-loc {
  font-size: .75rem; color: var(--text-muted);
  margin-bottom: 8px; display: flex; align-items: center; gap: 4px;
}
.map-popup .mp-price {
  font-size: 1.05rem; font-weight: 700; color: var(--gold);
  margin-bottom: 8px;
}
.map-popup .mp-specs {
  display: flex; gap: 12px; font-size: .72rem; color: var(--text-muted);
}
.map-popup .mp-specs i { color: var(--gold); margin-right: 3px; }
.map-popup .mp-btn {
  display: block; margin-top: 10px; text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black); padding: 8px 16px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .78rem; transition: all var(--transition);
}
.map-popup .mp-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(201,168,76,.4); }

/* Map legend */
.map-legend {
  display: flex; gap: 24px; justify-content: center;
  padding: 14px 20px;
  background: rgba(10,10,15,.8); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--text-muted);
}
.legend-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.15);
}
.dot-apartment { background: var(--gold); }
.dot-house { background: var(--teal); }
.dot-villa { background: var(--red); }

@media (max-width: 680px) {
  #propertyMap { height: 380px; }
  .map-legend { gap: 14px; padding: 10px 16px; }
}

/* ===========================
   WHY US
=========================== */
.why-section { padding: 100px 0; position: relative; overflow: hidden; }
.why-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,168,76,.06) 0%, transparent 70%),
              var(--dark);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.why-section .container { position: relative; z-index: 1; }
.why-section .section-head { margin-bottom: 48px; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  transition: all var(--transition); text-align: center;
}
.why-card:hover { background: rgba(201,168,76,.05); border-color: rgba(201,168,76,.2); transform: translateY(-6px); }
.wc-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,168,76,.2), rgba(201,168,76,.05));
  border: 1px solid rgba(201,168,76,.3);
  display: grid; place-items: center; margin: 0 auto 20px;
  font-size: 1.4rem; color: var(--gold); transition: all var(--transition);
}
.why-card:hover .wc-icon { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--black); border-color: transparent; }
.why-card h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.7; }

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials-section { padding: 90px 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.testi-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  position: relative; transition: all var(--transition);
}
.testi-card::before {
  content: '"'; font-family: var(--font-serif);
  position: absolute; top: 20px; right: 24px;
  font-size: 5rem; color: rgba(201,168,76,.1);
  line-height: 1;
}
.testi-card:hover { border-color: rgba(201,168,76,.2); transform: translateY(-4px); }
.featured-testi {
  background: linear-gradient(135deg, rgba(201,168,76,.08), rgba(201,168,76,.02));
  border-color: rgba(201,168,76,.25);
}
.testi-stars { font-size: 1rem; color: var(--gold); margin-bottom: 16px; letter-spacing: 2px; }
.testi-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); }
.testi-author strong { display: block; font-size: .88rem; color: var(--white); }
.testi-author small { font-size: .72rem; color: var(--text-muted); }

/* ===========================
   NEWS SECTION
=========================== */
.news-section { padding: 90px 0; background: var(--dark); border-top: 1px solid var(--border); }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.news-side { display: flex; flex-direction: column; gap: 20px; }

.news-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.news-card:hover { border-color: rgba(201,168,76,.2); transform: translateY(-4px); box-shadow: var(--shadow-md); }

.nc-image { position: relative; overflow: hidden; }
.big-card .nc-image { height: 280px; }
.small-card .nc-image { height: 140px; }
.nc-image img { width: 100%; height: 100%; transition: transform .5s ease; }
.news-card:hover .nc-image img { transform: scale(1.05); }
.nc-category {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--black);
  padding: 4px 12px; border-radius: 50px; font-size: .68rem; font-weight: 700;
}

.small-card { display: flex; }
.small-card .nc-image { width: 150px; flex-shrink: 0; }
.nc-body { padding: 20px; flex: 1; }
.nc-date { font-size: .72rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.nc-date i { color: var(--gold); }
.nc-body h3 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--white); line-height: 1.4; margin-bottom: 10px; }
.nc-body h4 { font-size: .9rem; font-weight: 600; color: var(--white); line-height: 1.4; margin-bottom: 10px; }
.nc-body p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.news-link { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--gold); transition: gap var(--transition); }
.news-link:hover { gap: 10px; }

/* ===========================
   CTA SECTION
=========================== */
.cta-section { padding: 100px 0; position: relative; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a0f 0%, rgba(201,168,76,.12) 50%, #0a0a0f 100%);
}
.cta-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1400&q=60') center/cover;
  opacity: .06;
}
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-content h2 { margin-bottom: 12px; }
.cta-content p { color: var(--text-muted); margin-bottom: 36px; font-size: .95rem; }
.cta-form {
  display: flex; gap: 12px; max-width: 780px; margin: 0 auto; flex-wrap: wrap;
}
.cta-form input, .cta-form select {
  flex: 1; min-width: 180px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  color: var(--text-main); border-radius: var(--radius-sm);
  padding: 13px 16px; font-size: .84rem; font-family: var(--font-sans);
  transition: all var(--transition);
}
.cta-form input::placeholder { color: var(--text-muted); }
.cta-form input:focus, .cta-form select:focus { outline: none; border-color: var(--gold); background: rgba(201,168,76,.05); }
.cta-form select option {
  background: #0f172a;
  color: #ffffff !important;
  padding: 8px 12px;
}

/* ===========================
   FOOTER
=========================== */
.footer { background: #080b11; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-top { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 48px; }

.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand p { font-size: .88rem; color: #cbd5e1; line-height: 1.8; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15); display: grid; place-items: center;
  color: #e2e8f0; font-size: .85rem; transition: all var(--transition);
  background: rgba(255,255,255,0.05);
}
.footer-socials a:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.footer-col h4,
.footer-col h5 {
  font-size: .78rem; font-weight: 800; letter-spacing: 2px;
  color: #f1c40f; text-transform: uppercase; margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: .86rem; color: #e2e8f0; display: flex; align-items: center; gap: 8px; transition: all var(--transition); }
.footer-col ul a:hover { color: #facc15; transform: translateX(3px); }
.footer-col ul a i { color: #f1c40f; font-size: .65rem; }

.footer-contact li,
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .86rem; color: #e2e8f0; margin-bottom: 12px;
}
.footer-contact li i,
.footer-contact-item i { color: #f1c40f; margin-top: 2px; flex-shrink: 0; }
.footer-contact a:hover,
.footer-contact-item a:hover { color: #facc15; }
.footer-badges { margin-top: 16px; }
.footer-badges span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; color: #cbd5e1;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; padding: 7px 12px;
}
.footer-badges i { color: #f1c40f; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: .82rem; color: #94a3b8; }
.footer-bottom strong { color: #f1c40f; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: .78rem; color: #cbd5e1; transition: color var(--transition); }
.footer-bottom-links a:hover { color: #facc15; }

/* ===========================
   BACK TO TOP
=========================== */
.back-to-top {
  position: fixed; bottom: 90px; right: 24px; z-index: 800;
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(13,17,23,.9); backdrop-filter: blur(12px);
  border: 1px solid var(--border); color: var(--gold);
  font-size: .9rem; cursor: pointer;
  opacity: 0; visibility: hidden; transition: all var(--transition);
  display: grid; place-items: center;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); color: var(--black); border-color: var(--gold); transform: translateY(-3px); }

/* ===========================
   CHAT WIDGET
=========================== */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 800; }
.cw-bubble {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black); border-radius: 50px; padding: 12px 20px;
  font-weight: 700; font-size: .82rem; cursor: pointer;
  box-shadow: 0 8px 24px rgba(201,168,76,.4);
  transition: all var(--transition); position: relative;
}
.cw-bubble:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,168,76,.5); }
.cw-bubble i { font-size: 1rem; }
.cw-dot {
  position: absolute; top: 8px; right: 8px;
  width: 10px; height: 10px; background: #22c55e;
  border-radius: 50%; border: 2px solid var(--gold-light);
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }
.cw-label { font-size: .78rem; }

.cw-popup {
  position: absolute; bottom: calc(100% + 12px); right: 0;
  width: 310px; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--transition);
}
.cw-popup.open { opacity: 1; visibility: visible; transform: translateY(0); }
.cw-header {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 14px 16px; color: var(--black);
}
.cw-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.2); display: grid; place-items: center; font-size: 1rem;
}
.cw-header strong { font-size: .88rem; display: block; }
.cw-header small { font-size: .7rem; opacity: .8; }
.cw-header button { margin-left: auto; background: none; border: none; color: var(--black); cursor: pointer; font-size: 1rem; }
.cw-body { padding: 16px; min-height: 100px; }
.cw-msg {
  background: rgba(255,255,255,.06); border-radius: 12px 12px 12px 4px;
  padding: 12px 14px; font-size: .82rem; color: var(--text-muted); line-height: 1.6;
}
.cw-input {
  display: flex; gap: 8px; padding: 12px;
  border-top: 1px solid var(--border);
}
.cw-input input {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px; font-size: .8rem; color: var(--text-main);
  font-family: var(--font-sans);
}
.cw-input input:focus { outline: none; border-color: var(--gold); }
.cw-input button {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--gold); color: var(--black); border: none;
  cursor: pointer; font-size: .85rem; transition: all var(--transition);
}
.cw-input button:hover { background: var(--gold-light); }

/* ===========================
   ANIMATIONS
=========================== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-images { max-width: 500px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--dark); border-top: 1px solid var(--border);
    padding: 16px 24px 24px; gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .mega-dropdown { display: none !important; }
  .hero-content { padding: 0 32px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-side { flex-direction: row; gap: 16px; }
}

@media (max-width: 680px) {
  .hero { height: 320px; min-height: 290px; }
  .hero-nav { right: 20px; bottom: 14px; }
  .hero-title .line1 { font-size: 1.45rem; }
  .hero-title .line2 { font-size: 1.7rem; }
  .hero-desc { font-size: .8rem; margin-bottom: 14px; }
  .cta-phone span { display: none; }
  .cta-phone { padding: 9px 12px; }
  .nav-inner { padding: 0 16px; gap: 12px; }
  .hero-stats { display: none; }
  .stat { padding: 0 24px; }
  .hero-scroll-hint { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .news-side { flex-direction: column; }
  .small-card { flex-direction: column; }
  .small-card .nc-image { width: 100%; height: 160px; }
  .hero-content { padding: 0 24px; }
  .hero-eyebrow { font-size: .68rem; }
  .about-img-side { display: none; }
}

@media (max-width: 480px) {
  .topbar-left .sep, .topbar-left a:last-child { display: none; }
  .hero-actions .btn-ghost { display: none; }
  .sf-fields { flex-direction: column; }
  .sf-advanced { flex-direction: column; }
  .sf-range-group { flex-direction: row; }
  .sf-check-field { min-width: 100%; }
  .listings-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}


/* ── Loading spinner ── */
.loading-spinner { grid-column: 1/-1; text-align:center; padding:60px 20px; color:var(--text-muted); }
.loading-spinner i { font-size:2.5rem; color:var(--gold); margin-bottom:16px; display:block; }
.empty-state { grid-column:1/-1; text-align:center; padding:60px 20px; color:var(--text-muted); }
.empty-state i { font-size:3rem; color:rgba(201,168,76,.3); margin-bottom:12px; display:block; }

/* ── CTA Success ── */
.cta-success { display:flex; flex-direction:column; align-items:center; gap:12px; padding:28px; color:var(--white); animation:fadeIn .4s ease; }
.cta-success i { font-size:3rem; color:#22c55e; }
.cta-success p { font-size:1rem; opacity:.9; }
@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

/* ── Booking Modal ── */
.modal-overlay {
  position:fixed; inset:0; z-index:9000;
  background:rgba(0,0,0,.7); backdrop-filter:blur(8px);
  display:grid; place-items:center; padding:20px;
  animation:fadeIn .25s ease;
}
.modal-box {
  background:var(--card-bg); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:36px 32px;
  max-width:600px; width:100%; max-height:90vh; overflow-y:auto;
  position:relative; animation:slideUp .3s ease;
}
@keyframes slideUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.modal-close {
  position:absolute; top:16px; right:16px;
  background:rgba(255,255,255,.08); border:1px solid var(--border);
  color:var(--text-muted); width:36px; height:36px; border-radius:50%;
  cursor:pointer; font-size:.9rem; display:grid; place-items:center;
  transition:all var(--transition);
}
.modal-close:hover { background:var(--red); color:#fff; border-color:var(--red); }
.modal-box h3 { font-family:var(--font-serif); font-size:1.5rem; color:var(--white); margin-bottom:8px; }
.modal-prop { color:var(--text-muted); font-size:.85rem; margin-bottom:24px; display:flex; align-items:center; gap:8px; }
.modal-prop i { color:var(--gold); }
.modal-prop span { color:var(--gold); font-weight:600; }
.mf-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.mf-field { display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
.mf-field label { font-size:.72rem; font-weight:600; color:var(--text-muted); letter-spacing:1px; text-transform:uppercase; }
.mf-field input, .mf-field select, .mf-field textarea {
  background:rgba(255,255,255,.05); border:1px solid var(--border);
  color:var(--text-main); border-radius:var(--radius-sm);
  padding:11px 14px; font-size:.84rem; font-family:var(--font-sans);
  transition:all var(--transition);
}
.mf-field input::placeholder, .mf-field textarea::placeholder { color:var(--text-muted); }
.mf-field input:focus, .mf-field select:focus, .mf-field textarea:focus { outline:none; border-color:var(--gold); background:rgba(201,168,76,.05); }
.mf-field select option {
  background: #0f172a;
  color: #ffffff !important;
  padding: 8px 12px;
}
.mf-field textarea { resize:vertical; min-height:80px; }
@media (max-width:500px) { .mf-row { grid-template-columns:1fr; } }


/* ============================================================
   AIRBNB SPLIT MAP & LISTINGS SECTION (FIND YOUR HOME)
   ============================================================ */
.find-home-section {
  background: #f7f4ed;
  color: #1e293b;
  padding: 50px 0 70px;
  position: relative;
  z-index: 10;
}

.fh-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
.fh-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.fh-title {
  font-family: var(--font-sans);
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.fh-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 400;
}

/* Unified Language Switcher in Listings Header */
.fh-lang-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #0f172a;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 24px;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.fh-lang-group .lang-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
}

.fh-lang-btn {
  border: none;
  background: transparent;
  padding: 4px 11px;
  border-radius: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.fh-lang-btn * {
  pointer-events: none;
}

.fh-lang-btn .lang-flag {
  font-size: 0.88rem;
  line-height: 1;
}

.fh-lang-btn .lang-code {
  font-size: 0.7rem;
  letter-spacing: 1px;
  font-weight: 700;
}

.fh-lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.fh-lang-btn.active, .fh-lang-btn.active-lang {
  background: linear-gradient(135deg, #c9a84c, #b39138) !important;
  color: #0f172a !important;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.4);
}

/* Filters */
.fh-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid #e5e0d4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.fh-filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.fh-filter-label {
  min-width: 85px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.2px;
}

.fh-pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.fh-pill {
  border: 1px solid #dcd8cf;
  background: #ffffff;
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.fh-pill:hover {
  border-color: #005963;
  color: #005963;
  background: rgba(0,89,99,0.04);
}

.fh-pill.active {
  background: #005963;
  color: #ffffff;
  border-color: #005963;
  box-shadow: 0 2px 8px rgba(0,89,99,0.25);
  font-weight: 600;
}
#typePills .fh-pill i {
  margin-right: 6px;
  font-size: 0.85rem;
  opacity: 0.85;
}
#typePills .fh-pill.active i {
  opacity: 1;
  color: #facc15;
}

/* Price Slider */
.fh-price-slider-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
}

.fh-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 180px;
  height: 6px;
  background: #dcd8cf;
  border-radius: 4px;
  outline: none;
  transition: background 0.2s;
}

.fh-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #005963;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.15s;
}

.fh-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.fh-price-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

/* ==========================================================================
   CLEAN SPLIT LAYOUT (LISTINGS & MAP)
   ========================================================================== */
.fh-split-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.fh-left-col {
  display: flex;
  flex-direction: column;
}

/* Reset map overlay controls cleanly to top 14px */
.apple-map-weather {
  top: 14px !important;
}

.gmap-type-toggle {
  top: 14px !important;
  left: 106px !important;
}

.gmap-ctrl-group {
  top: 14px !important;
}

.fh-count-bar {
  margin-bottom: 14px;
}

.fh-count {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.fh-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 10px;
}

.fh-cards-list::-webkit-scrollbar {
  width: 6px;
}

.fh-cards-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.fh-cards-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Property Card (Image 1 style) */
.fh-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.fh-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-color: #005963;
}

.fh-card.active-marker-hover {
  border: 2px solid #005963;
  box-shadow: 0 14px 34px rgba(0,89,99,0.22);
}

.fh-card-img-wrap {
  height: 220px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.fh-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.fh-card-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #005963;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.fh-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
}

.fh-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.35;
}

.fh-card-title a {
  color: inherit;
  text-decoration: none;
}

.fh-card-title a:hover {
  color: #005963;
}

.fh-card-sub {
  font-size: 0.84rem;
  color: #64748b;
  margin-bottom: 12px;
}

.fh-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.fh-c-badge {
  background: #f1efe9;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  border: 1px solid rgba(0,0,0,0.03);
}

.fh-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.fh-card-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.fh-card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.fh-card-unit {
  font-size: 0.82rem;
  color: #64748b;
}

.fh-card-btn {
  background: #d85a38;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fh-card-btn:hover {
  background: #c04928;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(216,90,56,0.3);
  color: #ffffff;
}

/* Currency Toggle & Header Right */
.fh-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fh-currency-toggle {
  display: inline-flex;
  align-items: center;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 3px;
  gap: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.fh-curr-btn {
  border: none;
  background: transparent;
  padding: 4px 11px;
  border-radius: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.fh-curr-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.fh-curr-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-weight: 800;
}

/* 2-Column Cards Grid */
.fh-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 8px;
}

.fh-cards-grid::-webkit-scrollbar {
  width: 6px;
}
.fh-cards-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

/* Property Card (2-Column Airbnb Rich Card) */
.fh-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.fh-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  border-color: #005963;
}

.fh-card.active-marker-hover {
  border: 2px solid #ff385c !important;
  box-shadow: 0 8px 24px rgba(255, 56, 92, 0.22) !important;
}

.fh-card-img-wrap {
  height: 185px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.fh-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.fh-card-badges-top {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.badge-guest-fav {
  background: #ffffff;
  color: #111827;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.badge-code {
  background: #3b82f6;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.35);
}

.card-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.card-fav-btn.favorited {
  color: #ff385c;
}

.card-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.card-slider-dots .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.card-slider-dots .dot.active {
  width: 7px;
  background: #ffffff;
}

/* Card Availability Status Badge (Bottom Right of Image) */
.card-status-badge {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.2px;
}

.card-status-badge .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

/* Còn trống */
.card-status-badge.status-available {
  background: rgba(15, 23, 42, 0.88);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.45);
}

.card-status-badge.status-available .status-dot {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: statusPulseGreen 2s infinite;
}

/* Đã cho thuê */
.card-status-badge.status-rented {
  background: rgba(15, 23, 42, 0.88);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.45);
}

.card-status-badge.status-rented .status-dot {
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

@keyframes statusPulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.fh-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
}

.fh-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 3px;
}

.fh-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fh-card-rating {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.fh-card-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fh-card-specs {
  font-size: 0.75rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

/* Creative Short-Stay Availability Strip */
.fh-avail-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.95), rgba(209, 250, 229, 0.65));
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 9px;
  padding: 6px 10px;
  margin: 8px 0 10px;
  font-size: 0.8rem;
  color: #065f46;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.08);
  transition: all 0.2s ease;
}

.fh-card:hover .fh-avail-strip {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.16);
}

.fh-avail-strip.status-rented {
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.95), rgba(254, 226, 226, 0.65));
  border-color: rgba(239, 68, 68, 0.28);
  color: #991b1b;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.08);
}

.fh-avail-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.fh-avail-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: availPulse 2s infinite ease-in-out;
  flex-shrink: 0;
}

.status-rented .fh-avail-pulse-dot {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: availPulseRed 2s infinite ease-in-out;
}

@keyframes availPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes availPulseRed {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.fh-avail-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #047857;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.status-rented .fh-avail-title {
  color: #b91c1c;
}

.fh-avail-sep {
  color: #6ee7b7;
  font-weight: bold;
}

.status-rented .fh-avail-sep {
  color: #fca5a5;
}

.fh-avail-dates {
  font-weight: 700;
  font-size: 0.8rem;
  color: #064e3b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-rented .fh-avail-dates {
  color: #7f1d1d;
}

.fh-avail-badge-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  background: #059669;
  color: #ffffff;
  white-space: nowrap;
  margin-left: 6px;
  flex-shrink: 0;
  letter-spacing: 0.2px;
}

.status-rented .fh-avail-badge-tag {
  background: #dc2626;
}

.fh-card-footer {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin-top: 12px;
}

.fh-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.fh-card-price {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
}

.fh-card-unit {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.fh-card-sub-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fh-card-night {
  font-size: 0.74rem;
  color: #64748b;
}

.fh-card-cancel {
  font-size: 0.74rem;
  color: #16a34a;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
}

.fh-card-night {
  font-size: 0.74rem;
  color: #64748b;
}

.fh-card-cancel {
  font-size: 0.74rem;
  color: #16a34a;
  font-weight: 600;
}

/* Right Column: Google Maps Container */
.fh-right-col {
  position: sticky;
  top: 90px;
  height: calc(100vh - 120px);
  min-height: 580px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border: 1px solid #dcd8cf;
}

.fh-map-container, #fhMap, .leaflet-container {
  width: 100%;
  height: 100%;
  background: #a2e2fd; /* Lush ocean cyan default background */
  position: relative;
  touch-action: none !important;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}

/* Apple Maps Lush Pastel Terrain Filter */
.fh-map-container.apple-terrain-mode {
  background: #90d8fa;
}

.fh-map-container.apple-terrain-mode .leaflet-tile-pane {
  filter: saturate(1.24) contrast(1.06) brightness(1.02);
}

/* Apple Maps Weather Pill (Top-Left) */
.apple-map-weather {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  color: #111827;
  pointer-events: auto;
  user-select: none;
}

.amw-icon {
  font-size: 16px;
}

/* Google Maps Type Switcher */
.gmap-type-toggle {
  position: absolute;
  top: 14px;
  left: 106px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  padding: 3px;
  display: flex;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.gmap-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.gmap-btn.active {
  background: #111827;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Apple Maps Side Action Buttons (Car & Location) */
.apple-map-side-nav {
  position: absolute;
  bottom: 84px;
  right: 14px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.am-side-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  color: #1f2937;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.am-side-btn:hover {
  background: #ffffff;
  transform: scale(1.06);
}

.am-side-btn.active-loc {
  color: #007aff;
}

/* Apple Maps Bottom Search Bar Pill (Matching user screenshot) */
.apple-map-bottom-bar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.amb-search-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.amb-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  font-family: inherit;
}

.amb-search-box input::placeholder {
  color: #64748b;
  font-weight: 500;
}

.amb-icon {
  color: #111827;
  font-size: 15px;
}

.amb-mic {
  color: #111827;
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
}

.amb-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a84c, #e2c875);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.45);
  border: 2.5px solid #ffffff;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.amb-avatar:hover {
  transform: scale(1.08);
}

/* ── APPLE MAPS VECTOR DECORATIONS ───────────────── */
.custom-map-decor-wrap {
  background: transparent !important;
  border: none !important;
}

/* Big Hero City Title across Bay / City Center */
.map-hero-city-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  color: #111827;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.5px;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #ffffff,
    0 0 16px rgba(255, 255, 255, 0.95),
    0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Water / Bay Label */
.map-water-label {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.5px;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.95);
  pointer-events: none;
  white-space: nowrap;
}

/* District / Ward Markers with bullet dot */
.map-district-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  text-shadow:
    0 0 4px #ffffff,
    0 0 8px #ffffff;
}

.map-district-label .mdl-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #111827;
  display: inline-block;
  box-shadow: 0 0 2px #fff;
}

/* Airport Badge */
.map-airport-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 8px 3px 4px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.map-airport-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #007aff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.map-airport-info {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 700;
  color: #0369a1;
  white-space: nowrap;
}

/* Route Badges */
.map-route-badge {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.22);
  white-space: nowrap;
  display: inline-block;
}

.map-route-badge.mrb-blue {
  background: #0066cc;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.map-route-badge.mrb-shield {
  background: #ffffff;
  color: #111827;
  border: 1.5px solid #374151;
  border-radius: 6px;
}

/* Road Label */
.map-road-label {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #4b5563;
  letter-spacing: 0.8px;
  transform: rotate(-30deg);
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 0 3px #fff, 0 0 6px #fff;
}

/* GPS Beacon with Radar Beam Cone */
.map-gps-beacon-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.map-beacon-cone {
  position: absolute;
  top: -28px;
  left: 7px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 38px solid rgba(0, 122, 255, 0.28);
  transform: rotate(38deg);
  transform-origin: center bottom;
  filter: blur(1px);
}

.map-beacon-halo {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.25);
  animation: beaconPulse 2s infinite ease-out;
}

.map-beacon-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #007aff;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.6);
  z-index: 2;
}

@keyframes beaconPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Scenic Badge */
.map-scenic-badge {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.06);
  pointer-events: none;
  white-space: nowrap;
}

/* Google Maps Branding Watermark */
.gmap-brand-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.9;
}

/* Google Maps Control Buttons */
.gmap-ctrl-group {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gmap-ctrl-btn {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gmap-ctrl-btn:hover {
  background: #f8fafc;
  color: #111827;
}

/* Custom Google Map Price Marker (High-Contrast Airbnb Style) */
.map-price-marker {
  position: relative;
  background: #ffffff;
  color: #0f172a;
  border-radius: 28px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1.5px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  user-select: none;
}

.map-price-marker::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ffffff;
  transition: border-top-color 0.2s ease;
}

.map-price-marker:hover {
  transform: scale(1.1);
  border-color: #0f172a;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
  z-index: 9999 !important;
}

.map-price-marker.active-pin {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  transform: scale(1.18) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
  z-index: 10000 !important;
}

.map-price-marker.active-pin::after {
  border-top-color: #0f172a !important;
}

/* Clear Da Nang Landmark Labels on Map */
.map-landmark-label {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 4px 11px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.4;
}

.map-popup-card {
  width: 240px;
  display: flex;
  flex-direction: column;
}

.map-popup-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.map-popup-info {
  padding: 12px 14px 14px;
}

.map-popup-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.map-popup-price {
  font-size: 1rem;
  font-weight: 800;
  color: #005963;
  margin-bottom: 8px;
}

.map-popup-btn {
  display: block;
  text-align: center;
  background: #d85a38;
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .fh-split-wrap {
    grid-template-columns: 1fr;
  }
  .fh-right-col {
    position: relative;
    height: 480px;
    min-height: 480px;
    order: -1;
    margin-bottom: 24px;
    overflow: hidden;
  }
  .fh-cards-list {
    max-height: none;
    overflow-y: visible;
  }
}

@media (max-width: 680px) {
  .fh-title {
    font-size: 1.7rem;
  }
  .fh-header {
    flex-direction: column;
  }
  .fh-filter-label {
    min-width: 100%;
    margin-bottom: 4px;
  }
}


/* ==========================================================================
   DANANG STAY&LANDLORD – EXACT REPLICATION OF USER SCREENSHOT
   ========================================================================== */

:root {
  --stay-primary: #1d4ed8;
  --stay-accent: #ff385c;
  --stay-accent-hover: #e0284f;
  --stay-dark: #0f172a;
  --stay-text: #1e293b;
  --stay-gray: #64748b;
  --stay-border: #e2e8f0;
}

body.stay-app-body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #ffffff;
  color: var(--stay-text);
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── 1. TOP APP NAVBAR ─────────────────────────────────────────── */
.app-top-header {
  background: #ffffff;
  border-bottom: 1px solid var(--stay-border);
  padding: 10px 24px;
  flex-shrink: 0;
  z-index: 100;
}

.app-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.app-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-square-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 19px;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1.15;
}

.brand-danang {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e1b4b;
  letter-spacing: -0.3px;
}

.brand-stay {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--stay-accent);
  letter-spacing: -0.3px;
}

.brand-subtext {
  font-size: 0.72rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.1px;
}

/* Center Royal Blue Navigation Pills */
.app-nav-pills {
  display: inline-flex;
  align-items: center;
  background: #1e3a8a;
  border-radius: 9999px;
  padding: 4px;
  gap: 2px;
  box-shadow: 0 2px 10px rgba(30, 58, 138, 0.2);
}

.nav-pill-item {
  border: none;
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.nav-pill-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.15);
}

.nav-pill-item.active {
  background: #172554;
  color: #ffffff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Header Right Actions */
.app-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 9999px;
}

.h-lang-btn {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.h-lang-btn.active-lang {
  color: #0f172a;
  font-weight: 800;
}

.h-lang-sep {
  color: #cbd5e1;
  font-size: 0.75rem;
}

.btn-hotline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--stay-accent);
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 56, 92, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-hotline-pill:hover {
  background: var(--stay-accent-hover);
  transform: translateY(-1px);
}

.btn-post-property {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-post-property:hover {
  background: #f8fafc;
  border-color: #9ca3af;
}

/* ── 2. FILTER CAROUSEL BAR ─────────────────────────────────────── */
.filter-carousel-wrapper {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 10px 24px;
  flex-shrink: 0;
  z-index: 90;
}

.filter-carousel-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-pills-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-pills-scroll::-webkit-scrollbar {
  display: none;
}

.filter-pill-btn {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}

.filter-pill-btn:hover {
  border-color: #0f172a;
  color: #0f172a;
}

.filter-pill-btn.active {
  border-color: #0f172a;
  color: #0f172a;
  background: #f8fafc;
  font-weight: 700;
}

.filter-pill-btn.superhost-pill {
  background: #111827;
  color: #fbbf24;
  border-color: #111827;
  font-weight: 700;
}

.filter-pill-btn.superhost-pill:hover {
  background: #1f2937;
}

.filter-sort-select {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 9999px;
  cursor: pointer;
  outline: none;
  white-space: nowrap;
}

/* ── 3. MAIN SPLIT VIEW ─────────────────────────────────────────── */
.app-main-split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  flex: 1;
  height: calc(100vh - 122px);
  overflow: hidden;
}

/* Left Panel: 2-Column Cards Grid */
.left-cards-panel {
  height: 100%;
  overflow-y: auto;
  padding: 18px 24px 60px;
  background: #ffffff;
}

.cards-grid-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Card item */
.fh-app-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.fh-app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.fh-app-card.active-card {
  border: 2px solid var(--stay-accent) !important;
  box-shadow: 0 8px 24px rgba(255, 56, 92, 0.18) !important;
}

/* Card Image Box */
.card-img-container {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.fh-app-card:hover .card-img-container img {
  transform: scale(1.04);
}

/* Badges on Card Top Left */
.card-badges-left {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.badge-guest-fav {
  background: #ffffff;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.badge-code {
  background: #3b82f6;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.35);
}

/* Heart Favorite Button on Card Top Right */
.card-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.card-fav-btn:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.45);
}

.card-fav-btn.favorited {
  color: var(--stay-accent);
}

/* Dots slider pagination */
.card-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.card-slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.card-slider-dots .dot.active {
  width: 8px;
  background: #ffffff;
}

/* Card Content Details */
.card-content {
  padding: 12px 14px;
}

.card-row-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 3px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-rating {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.card-subtitle {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0 0 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-specs {
  font-size: 0.78rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.spec-dot {
  color: #94a3b8;
}

.card-price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid #f8fafc;
  padding-top: 6px;
}

.price-main-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-old {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.82rem;
}

.price-bold {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
}

.price-duration {
  font-size: 0.8rem;
  color: #475569;
}

.price-sub-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-night {
  font-size: 0.75rem;
  color: #64748b;
}

.badge-free-cancel {
  font-size: 0.74rem;
  color: #16a34a;
  font-weight: 600;
}

/* ── 4. RIGHT MAP PANEL ─────────────────────────────────────────── */
.right-map-panel {
  position: relative;
  height: 100%;
  width: 100%;
  background: #f1f5f9;
}

.leaflet-map-canvas {
  width: 100%;
  height: 100%;
}

/* Map Floating Top-Right Controls */
.map-floating-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.map-ctrl-btn {
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.map-ctrl-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}

.map-ctrl-zoom-group {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-ctrl-zoom-group .map-ctrl-btn {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.map-ctrl-zoom-group .map-ctrl-btn:first-child {
  border-bottom: 1px solid #f1f5f9;
}

/* Map Floating Area Label Pin */
.map-floating-label {
  position: absolute;
  top: 160px;
  left: 90px;
  z-index: 999;
  background: #ffffff;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e2e8f0;
  pointer-events: none;
}

.text-red {
  color: #ef4444;
}

/* Map Price Pins (Leaflet DivIcon) */
.map-price-bubble {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
  text-align: center;
}

.map-price-bubble:hover {
  transform: scale(1.1);
  border-color: #0f172a;
  z-index: 9999 !important;
}

.map-price-bubble.active {
  background: #111827 !important;
  color: #ffffff !important;
  border-color: #111827 !important;
  transform: scale(1.15) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
  z-index: 10000 !important;
}

/* Floating Bottom Property Preview Card on Map */
.map-bottom-preview-card {
  position: absolute;
  bottom: 74px;
  left: 14px;
  right: 14px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 28px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
}

.map-bottom-preview-card.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.mb-card-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.mb-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mb-card-info {
  flex: 1;
  min-width: 0;
}

.mb-card-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.mb-code-badge {
  color: #2563eb;
  font-weight: 700;
  font-size: 0.74rem;
}

.mb-rating {
  color: #111827;
  font-weight: 700;
  font-size: 0.74rem;
}

.mb-card-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.mb-card-price {
  font-size: 0.84rem;
  font-weight: 800;
  color: #111827;
}

.mb-card-close {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-card-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

/* ── 5. FLOATING ONLINE CHAT WIDGET ─────────────────────────────── */
.floating-chat-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Greeting Bubble */
.chat-greeting-bubble {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  max-width: 290px;
  position: relative;
  transition: all 0.25s ease;
}

.chat-greeting-bubble.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  display: none;
}

.greeting-text {
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.45;
  margin: 0;
  padding-right: 14px;
}

.greeting-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 11px;
}

.greeting-close:hover {
  color: #0f172a;
}

.chat-greeting-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 32px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transform: rotate(45deg);
}

/* Purple Pill Button */
.chat-online-pill-btn {
  background: #7c3aed;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-online-pill-btn:hover {
  transform: translateY(-2px);
  background: #6d28d9;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
}

.online-indicator-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

.chat-icon {
  font-size: 15px;
}

/* ── 6. MODALS ──────────────────────────────────────────────────── */
.app-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.app-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.app-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.app-modal-box {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  width: 90%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-modal.open .app-modal-box {
  transform: scale(1);
}

.modal-close-btn {
  border: none;
  background: transparent;
  font-size: 20px;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
}

.modal-close-btn:hover {
  color: #0f172a;
}

/* Chat Modal */
.chat-box-header {
  padding: 16px 20px;
  background: #7c3aed;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.chat-agent-info h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.chat-agent-info p {
  margin: 2px 0 0 0;
  font-size: 0.72rem;
  opacity: 0.9;
}

.online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

.chat-box-messages {
  height: 250px;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
}

.msg-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.4;
}

.msg-bubble.received {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg-bubble.sent {
  background: #7c3aed;
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.msg-time {
  display: block;
  font-size: 0.65rem;
  opacity: 0.7;
  margin-top: 4px;
}

.chat-quick-actions {
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.quick-act-btn {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.quick-act-btn.hotline {
  background: #fee2e2;
  color: #ef4444;
}

.quick-act-btn.zalo {
  background: #dbeafe;
  color: #2563eb;
}

.chat-input-bar {
  display: flex;
  padding: 12px 20px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  gap: 8px;
}

.chat-input-bar input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.84rem;
  outline: none;
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #7c3aed;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Booking Modal */
.booking-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.booking-modal-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.booking-form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.form-group input,
.form-group textarea {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--stay-accent);
}

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

.input-readonly {
  background: #f8fafc;
  font-weight: 600;
  color: #1e293b;
}

.btn-submit-booking {
  width: 100%;
  background: var(--stay-accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.btn-submit-booking:hover {
  background: var(--stay-accent-hover);
}

.booking-success-msg {
  padding: 10px;
  background: #dcfce7;
  color: #15803d;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

/* Post Property Modal */
.post-info-box {
  padding: 20px;
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

.post-hotline-banner {
  background: #f1f5f9;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0;
}

.post-hotline-banner i {
  font-size: 24px;
  color: var(--stay-accent);
}

.phone-hl {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

/* ── 7. RESPONSIVE DESIGN ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .app-main-split {
    grid-template-columns: 1fr;
    height: auto;
    overflow-y: auto;
  }
  .left-cards-panel {
    height: auto;
    overflow: visible;
  }
  .right-map-panel {
    height: 480px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .cards-grid-wrap {
    grid-template-columns: 1fr;
  }
  .app-nav-pills {
    display: none;
  }
}

/* ==========================================================================
   AIRBNB-STYLE AUTH MODAL & USER NAVIGATION PILL
   (Exact Match to media_1794888843853_ced321ee.jpg)
   ========================================================================== */

/* User Menu Wrapper */
.user-menu-wrapper {
  position: relative;
  display: inline-block;
}

.airbnb-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid #dcd8cf;
  border-radius: 30px;
  padding: 5px 6px 5px 12px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.airbnb-user-pill:hover {
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.28);
  border-color: #c9a84c;
}

.aup-bars {
  font-size: 13px;
  color: #374151;
}

.aup-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a84c, #e2c875);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(201, 168, 76, 0.35);
}

.aup-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dropdown Menu */
.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  z-index: 10000;
  transition: opacity 0.2s, transform 0.2s;
  animation: dropdownPop 0.18s ease-out;
}

.user-dropdown-menu.hidden {
  display: none !important;
}

@keyframes dropdownPop {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.udm-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 0.88rem;
  color: #222222;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  font-family: inherit;
}

.udm-item:hover {
  background: #f7f7f7;
}

.udm-item.bold {
  font-weight: 700;
}

.udm-item.gold {
  color: #c9a84c;
  font-weight: 700;
}

.udm-divider {
  height: 1px;
  background: #ebebeb;
  margin: 6px 0;
}

.udm-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}

.udm-user-info img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #c9a84c;
}

.udm-user-text strong {
  display: block;
  font-size: 0.92rem;
  color: #111827;
}

.udm-user-text small {
  font-size: 0.76rem;
  color: #64748b;
}

/* ── MODAL OVERLAY & CARD ────────────────────────── */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 99999;
  transition: opacity 0.25s ease;
}

.auth-modal-overlay.hidden {
  display: none !important;
}

.auth-modal-card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid rgba(201, 168, 76, 0.25);
  position: relative;
}

.auth-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c9a84c, #e2c875, #c9a84c);
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.92) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 16px;
  border-bottom: 1px solid #f1ece1;
}

.auth-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #222222;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s;
}

.auth-close-btn:hover {
  background: #f3f4f6;
  color: #000;
}

.auth-modal-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Plus Jakarta Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  text-align: center;
  flex: 1;
}

.auth-modal-body {
  padding: 24px;
}

.auth-modal-body.hidden {
  display: none !important;
}

/* Input group */
.auth-input-group {
  margin-bottom: 14px;
}

.auth-input-group input {
  width: 100%;
  height: 52px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 1rem;
  color: #0f172a;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
}

.auth-input-group input:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.auth-input-group input::placeholder {
  color: #94a3b8;
}

/* Action Button: Luxury Gold Gradient (Consistent with Mr DaNang Website) */
.auth-btn-continue {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #c9a84c, #e2c875);
  color: #0f172a;
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.38);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.auth-btn-continue:hover {
  background: linear-gradient(135deg, #b8963e, #d8bc68);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.52);
  transform: translateY(-1px);
  color: #000000;
}

.auth-btn-continue:active {
  transform: scale(0.98);
}

.auth-btn-continue:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Divider: "hoặc" */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider span {
  padding: 0 14px;
}

/* Social Buttons Row (Google & Apple) */
.auth-social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.auth-social-btn {
  width: 68px;
  height: 54px;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.auth-social-btn:hover {
  border-color: #c9a84c;
  background: #fffcf4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.22);
}

/* Error message */
.auth-error-msg {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.auth-error-msg.hidden {
  display: none !important;
}

/* Back button */
.auth-btn-back {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 14px;
  display: block;
  width: 100%;
  text-align: center;
  padding: 6px;
  border-radius: 8px;
  transition: color 0.15s;
}

.auth-btn-back:hover {
  color: #0f172a;
}

/* Step 2A User Badge Mini */
.auth-user-badge-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  border-radius: 14px;
}

.aub-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #c9a84c;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.aub-details strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}

.aub-details small {
  font-size: 0.78rem;
  color: #64748b;
}

/* Step 2B: Avatar Picker for Register */
.auth-reg-hint {
  font-size: 0.9rem;
  color: #475569;
  text-align: center;
  margin-bottom: 18px;
}

.auth-avatar-picker-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.auth-avatar-circle {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  margin: 0 auto 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid #c9a84c;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.auth-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.auth-avatar-circle:hover .auth-avatar-overlay {
  opacity: 1;
}

.auth-avatar-hint {
  display: block;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

/* ==========================================================================
   MOBILE RESPONSIVE ENHANCEMENTS (AIRBNB-STYLE MOBILE TOGGLE & CLEAN LAYOUT)
   ========================================================================== */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

/* Floating Mobile Map / List Toggle Button */
.mobile-map-toggle-bar {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  margin-left: 10px;
}

@media (max-width: 800px) {
  /* Prevent horizontal spill across all containers */
  .container, .fh-container, .topbar-inner, .nav-inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Topbar mobile */
  .topbar-social-btn {
    display: none !important;
  }
  .topbar-right .sep {
    display: none !important;
  }

  /* Mobile Navbar & Hamburger */
  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    background: #0d1117 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 18px 24px 28px !important;
    gap: 12px !important;
    z-index: 10000 !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
  }
  .nav-links.open .nav-link {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 8px 0 !important;
  }
  .cta-phone {
    display: none !important;
  }

  /* Filters mobile stacking */
  .fh-filters {
    gap: 10px !important;
    width: 100% !important;
  }
  .fh-filter-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .fh-pill-group {
    display: flex !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    max-width: 100% !important;
    padding-bottom: 4px !important;
    gap: 6px !important;
  }
  .fh-pill-group::-webkit-scrollbar {
    display: none !important;
  }
  .fh-price-slider-wrap {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Floating Toggle Pill */
  .mobile-map-toggle-bar {
    display: flex;
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
  }

  .mmt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    border: 1.5px solid #c9a84c;
    border-radius: 30px;
    padding: 10px 22px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
  }

  .mmt-btn:active {
    transform: scale(0.96);
  }

  .mmt-btn i {
    color: #c9a84c;
    font-size: 15px;
  }

  /* Split layout on mobile */
  .fh-split-wrap {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }
  .fh-left-col {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Default on mobile: Hide Map column so user can scroll listings without scroll trap */
  .fh-right-col {
    display: none !important;
  }

  /* When toggled to Map view on mobile */
  .fh-split-wrap.mobile-show-map .fh-left-col {
    display: none !important;
  }

  .fh-split-wrap.mobile-show-map .fh-right-col {
    display: block !important;
    height: calc(100vh - 140px) !important;
    min-height: 480px !important;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    width: 100% !important;
  }

  /* Header and Navbar tuning */
  .header .container.nav-inner {
    padding: 0 16px;
  }

  .logo-text .logo-bottom {
    letter-spacing: 1.5px;
  }

  /* Search bar */
  .app-search-bar {
    border-radius: 18px;
    padding: 6px 12px;
  }

  /* Cards grid: 1 column on mobile */
  .fh-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    width: 100% !important;
  }
  .fh-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .fh-card-img-wrap {
    height: 220px !important;
  }

  /* CTA Form & Footer Stacking */
  .cta-form {
    flex-direction: column !important;
    width: 100% !important;
  }
  .cta-form input, .cta-form select, .cta-form button {
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

