/* ============================================================
   Home Rent Deal — Global Stylesheet
   Brand: Orange #F97316 · Green #22C55E · Dark #1A1A2E
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Brand Palette ── */
  --orange:        #F97316;
  --orange-deep:   #EA6C0A;
  --orange-light:  #FB923C;
  --orange-pale:   #FEF3EB;
  --green:         #22C55E;
  --green-deep:    #16A34A;
  --green-light:   #4ADE80;
  --green-pale:    #DCFCE7;

  /* ── Dark / Neutral Palette ── */
  --dark:          #1A1A2E;
  --dark-mid:      #16213E;
  --dark-light:    #0F3460;
  --white:         #FFFFFF;
  --off-white:     #F9FAFB;
  --gray-50:       #F3F4F6;
  --gray-100:      #E5E7EB;
  --gray-300:      #D1D5DB;
  --gray-500:      #6B7280;
  --gray-700:      #374151;

  /* ── Text ── */
  --text-dark:     #1A1A2E;
  --text-mid:      #374151;
  --text-light:    #6B7280;

  /* ── Typography ── */
  --font-display:  'Nunito', sans-serif;
  --font-body:     'Plus Jakarta Sans', sans-serif;

  /* ── Radii ── */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* ── Shadows ── */
  --shadow-sm:     0 2px 8px rgba(26,26,46,0.07);
  --shadow-md:     0 8px 32px rgba(26,26,46,0.11);
  --shadow-lg:     0 20px 60px rgba(26,26,46,0.16);
  --shadow-orange: 0 4px 24px rgba(249,115,22,0.3);
  --shadow-green:  0 4px 24px rgba(34,197,94,0.25);

  /* ── Aliases for backward compat (other pages use --gold, --navy) ── */
  --gold:          var(--orange);
  --gold-light:    var(--orange-light);
  --gold-pale:     var(--orange-pale);
  --navy:          var(--dark);
  --navy-mid:      var(--dark-mid);
  --navy-light:    var(--dark-light);

  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height:    72px;
}

/* ══════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--white); color: var(--text-dark); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button  { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-mid); }

.container  { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-gold  { color: var(--orange); }
.text-green { color: var(--green); }
.text-navy  { color: var(--dark); }
.text-center{ text-align: center; }

/* ── Section Tag pill ── */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); background: var(--orange-pale);
  border: 1px solid rgba(249,115,22,0.25);
  padding: 6px 14px; border-radius: 99px; margin-bottom: 18px;
}
.section-tag::before { content: ''; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.section-title { margin-bottom: 14px; }
.section-sub   { font-size: 1.05rem; color: var(--text-light); max-width: 560px; line-height: 1.7; }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  padding: 13px 28px; border-radius: var(--radius-md);
  transition: var(--transition); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

/* Orange primary */
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: var(--white); box-shadow: var(--shadow-orange);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(249,115,22,0.45); }

/* Green accent */
.btn-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white); box-shadow: var(--shadow-green);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(34,197,94,0.4); }

/* White outline (on dark bg) */
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Dark outline (on light bg) */
.btn-outline-dark {
  background: transparent; color: var(--dark);
  border: 1.5px solid var(--gray-300);
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn-sm  { padding: 8px 18px; font-size: 0.84rem; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); background: transparent; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(26,26,46,0.35);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 0; }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 0; text-decoration: none; }
.nav-logo img {
  height: 48px;          /* visible but not oversized */
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  /* White bg logo on dark nav — keep readable */
  background: var(--white);
  padding: 4px 8px;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.8);
  padding: 8px 13px; border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.1); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; height: 100%; }

/* Profile button */
.nav-profile-btn {
  min-width: 38px; height: 38px; border-radius: 99px;
  background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: var(--transition); cursor: pointer;
  position: relative; flex-shrink: 0; padding: 0 4px;
  vertical-align: middle;
}
.nav-profile-btn:hover { background: rgba(249,115,22,0.2); border-color: var(--orange); }
.nav-profile-btn svg  { width: 19px; height: 19px; flex-shrink: 0; }

/* Auth Dropdown */
.auth-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 268px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18); border: 1px solid var(--gray-100);
  padding: 8px; z-index: 2000; display: none; flex-direction: column; gap: 4px;
  /* Prevent clipping off screen on mobile */
  max-width: calc(100vw - 24px);
}
.auth-dropdown.open { display: flex; }
.auth-dropdown-header {
  padding: 12px 14px 10px; border-bottom: 1px solid var(--gray-100); margin-bottom: 4px;
}
.auth-dropdown-header p { font-size: 0.8rem; color: var(--text-light); margin-bottom: 6px; }
.auth-btn {
  display: block; width: 100%; padding: 10px 14px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 700;
  text-align: center; transition: var(--transition); cursor: pointer;
}
.auth-btn-login {
  background: var(--dark); color: var(--white); margin-bottom: 6px;
}
.auth-btn-login:hover { background: var(--dark-light); }
.auth-btn-register {
  background: var(--orange-pale); color: var(--orange); border: 1.5px solid rgba(249,115,22,0.3);
}
.auth-btn-register:hover { background: var(--orange); color: var(--white); }
.auth-divider { height: 1px; background: var(--gray-100); margin: 4px 0; }
.auth-link {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px;
  border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 500;
  color: var(--text-mid); transition: var(--transition);
}
.auth-link svg { width: 16px; height: 16px; color: var(--text-light); }
.auth-link:hover { background: var(--gray-50); color: var(--text-dark); }

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

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--dark); padding: 16px 24px 28px; z-index: 999;
  border-top: 2px solid var(--orange); flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.95rem; font-weight: 600; color: rgba(255,255,255,0.8);
  padding: 12px 16px; border-radius: var(--radius-sm); transition: var(--transition);
}
.mobile-menu a:hover { background: rgba(249,115,22,0.12); color: var(--white); }
.mobile-menu .btn { margin-top: 12px; justify-content: center; width: 100%; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05); transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.93) 0%, rgba(26,26,46,0.78) 50%, rgba(26,26,46,0.55) 100%);
}
/* Orange glow bottom-right */
.hero::after {
  content: ''; position: absolute; bottom: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  padding: calc(var(--nav-height) + 60px) 0 80px;
  max-width: 740px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.77rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange-light); background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.35); padding: 7px 16px; border-radius: 99px;
  margin-bottom: 24px; animation: fadeUp 0.8s ease both;
}
.hero-tag .dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.85)} }

.hero h1 { color: var(--white); margin-bottom: 22px; animation: fadeUp 0.8s 0.15s ease both; }
.hero h1 em  { color: var(--orange); font-style: normal; }
.hero h1 .g  { color: var(--green); }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.72); line-height: 1.78;
  margin-bottom: 40px; max-width: 580px; animation: fadeUp 0.8s 0.25s ease both;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; animation: fadeUp 0.8s 0.35s ease both; }

/* Stats bar */
.hero-stats { position: relative; z-index: 2; display: flex; margin-top: 60px; animation: fadeUp 0.8s 0.45s ease both; }
.hero-stat {
  padding: 18px 28px; border-right: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05); backdrop-filter: blur(8px);
}
.hero-stat:first-child { border-left: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md) 0 0 var(--radius-md); }
.hero-stat:last-child  { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.hero-stat-num   { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--orange); line-height: 1; }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ══════════════════════════════════════════════
   SEARCH CARD
══════════════════════════════════════════════ */
.search-section { background: var(--white); padding: 0; position: relative; z-index: 10; }
.search-card {
  background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: 30px 36px; margin-top: -56px; position: relative;
  border: 1px solid var(--gray-100);
}
.search-tabs {
  display: flex; gap: 4px; margin-bottom: 22px;
  background: var(--gray-50); border-radius: var(--radius-md); padding: 4px; width: fit-content;
}
.search-tab {
  font-size: 0.87rem; font-weight: 700; color: var(--text-light);
  padding: 8px 20px; border-radius: var(--radius-sm); transition: var(--transition); cursor: pointer;
}
.search-tab.active { background: var(--dark); color: var(--white); box-shadow: var(--shadow-sm); }
.search-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.search-field label {
  display: block; font-size: 0.76rem; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 7px;
}
.search-field select,
.search-field input {
  width: 100%; padding: 12px 16px; font-size: 0.93rem; color: var(--text-dark);
  background: var(--gray-50); border: 1.5px solid transparent;
  border-radius: var(--radius-md); outline: none; transition: var(--transition);
  appearance: none; -webkit-appearance: none;
}
.search-field select:focus,
.search-field input:focus {
  background: var(--white); border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}
.search-btn {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white); font-weight: 700; font-size: 0.94rem;
  padding: 13px 26px; border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition); box-shadow: var(--shadow-orange);
  white-space: nowrap; font-family: var(--font-body);
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249,115,22,0.45); }
.search-btn svg { width: 18px; height: 18px; }

/* ══════════════════════════════════════════════
   SERVICES SCROLLER
══════════════════════════════════════════════ */
.services-scroll-section { background: var(--off-white); overflow: hidden; }
.services-scroll-track-wrap {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.services-scroll-track {
  display: flex; gap: 16px; width: max-content;
  animation: scrollLeft 32s linear infinite;
}
.services-scroll-track:hover { animation-play-state: paused; }
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.svc-scroll-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 22px 24px;
  min-width: 210px; display: flex; flex-direction: column; gap: 12px;
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: var(--transition); cursor: pointer; text-decoration: none; color: inherit;
  flex-shrink: 0;
}
.svc-scroll-card:hover { border-color: rgba(249,115,22,0.35); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-scroll-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange-pale), rgba(249,115,22,0.07));
  border: 1px solid rgba(249,115,22,0.18);
}
.svc-scroll-icon svg { width: 22px; height: 22px; color: var(--orange); }
.svc-scroll-card h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
.svc-scroll-card p  { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; }

/* ══════════════════════════════════════════════
   CATEGORIES
══════════════════════════════════════════════ */
.categories { background: var(--white); }
.cat-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; margin-top: 48px; }
.cat-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit; display: block;
  border: 1px solid var(--gray-100);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(249,115,22,0.3); }
.cat-img { height: 130px; overflow: hidden; position: relative; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-img-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(26,26,46,0.5) 100%); }
.cat-info { padding: 13px 15px; }
.cat-name  { font-size: 0.86rem; font-weight: 700; color: var(--text-dark); }
.cat-count { font-size: 0.73rem; color: var(--text-light); margin-top: 2px; }

/* ══════════════════════════════════════════════
   FEATURED PROPERTIES
══════════════════════════════════════════════ */
.featured-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; flex-wrap: wrap; gap: 16px; }
.props-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* PROPERTY CARD */
.prop-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer;
  border: 1px solid var(--gray-100);
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(249,115,22,0.2); }
.prop-img { position: relative; height: 215px; overflow: hidden; }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.prop-card:hover .prop-img img { transform: scale(1.06); }
.prop-badge { position: absolute; top: 13px; left: 13px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.badge-sale { background: var(--orange); color: var(--white); }
.badge-rent { background: var(--green); color: var(--white); }
.badge-360  {
  position: absolute; top: 13px; right: 13px;
  background: rgba(26,26,46,0.8); color: var(--orange-light);
  font-size: 0.69rem; font-weight: 700; padding: 5px 10px; border-radius: 99px;
  display: flex; align-items: center; gap: 4px;
  backdrop-filter: blur(4px); border: 1px solid rgba(249,115,22,0.4);
}
.badge-360::before { content: '⟳'; font-size: 0.8rem; }
.prop-fav {
  position: absolute; bottom: 13px; right: 13px; width: 33px; height: 33px;
  background: rgba(255,255,255,0.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); backdrop-filter: blur(4px); cursor: pointer;
}
.prop-fav:hover { background: var(--white); transform: scale(1.1); }
.prop-fav svg { width: 15px; height: 15px; color: var(--gray-500); transition: var(--transition); }
.prop-fav.active svg, .prop-fav:hover svg { color: #EF4444; fill: #EF4444; }
.prop-body { padding: 18px; }
.prop-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 5px; }
.prop-price span { font-family: var(--font-body); font-size: 0.78rem; font-weight: 400; color: var(--text-light); }
.prop-title { font-size: 0.93rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; }
.prop-loc { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--text-light); margin-bottom: 14px; }
.prop-loc svg { width: 12px; height: 12px; color: var(--orange); flex-shrink: 0; }
.prop-specs { display: flex; gap: 14px; padding-top: 13px; border-top: 1px solid var(--gray-100); }
.prop-spec { display: flex; align-items: center; gap: 5px; font-size: 0.78rem; color: var(--text-light); }
.prop-spec svg { width: 13px; height: 13px; color: var(--green); }
.prop-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 18px; border-top: 1px solid var(--gray-100); background: var(--gray-50);
}
.prop-agent { display: flex; align-items: center; gap: 8px; }
.prop-agent-img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange-pale); }
.prop-agent-name { font-size: 0.76rem; font-weight: 600; color: var(--text-mid); }
.prop-cta { font-size: 0.76rem; font-weight: 700; color: var(--orange); display: flex; align-items: center; gap: 4px; transition: var(--transition); }
.prop-cta:hover { color: var(--dark); }
.prop-cta svg { width: 13px; height: 13px; }

/* Rent contact row */
.prop-contact-row { display: flex; gap: 8px; padding: 11px 18px; border-top: 1px solid var(--gray-100); }
.contact-btn {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 5px; font-size: 0.76rem; font-weight: 700; padding: 9px 0;
  border-radius: var(--radius-sm); transition: var(--transition);
  cursor: pointer; font-family: var(--font-body); border: 1.5px solid transparent;
}
.contact-btn svg { width: 13px; height: 13px; }
.contact-btn-call  { background: var(--dark); color: var(--white); }
.contact-btn-call:hover { background: var(--dark-light); }
.contact-btn-wa    { background: #25D366; color: var(--white); }
.contact-btn-wa:hover { background: #1ebe5d; }
.contact-btn-visit { background: transparent; color: var(--dark); border-color: var(--gray-300); }
.contact-btn-visit:hover { border-color: var(--orange); background: var(--orange-pale); }

/* ══════════════════════════════════════════════
   VIRTUAL TOURS SECTION (dark bg)
══════════════════════════════════════════════ */
.tours-section { background: var(--dark); position: relative; overflow: hidden; }
.tours-section::before {
  content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.tours-section::after {
  content: ''; position: absolute; bottom: -80px; left: -80px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.tours-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tours-left .section-tag { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.3); }
.tours-left h2 { color: var(--white); }
.tours-left .section-sub { color: rgba(255,255,255,0.58); }
.tours-benefits { margin: 28px 0; display: flex; flex-direction: column; gap: 14px; }
.tour-benefit { display: flex; align-items: flex-start; gap: 13px; }
.tour-benefit-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.25);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
}
.tour-benefit-icon svg { width: 19px; height: 19px; color: var(--orange); }
.tour-benefit-text h4 { color: var(--white); font-size: 0.93rem; margin-bottom: 2px; font-family: var(--font-body); font-weight: 600; }
.tour-benefit-text p  { color: rgba(255,255,255,0.48); font-size: 0.82rem; line-height: 1.5; }
.tours-right { position: relative; }
.tour-preview {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; position: relative; cursor: pointer;
}
.tour-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tour-preview:hover img { transform: scale(1.04); }
.tour-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,26,46,0.35); transition: var(--transition);
}
.tour-preview:hover .tour-play { background: rgba(26,26,46,0.2); }
.tour-play-btn {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px rgba(249,115,22,0.18); transition: var(--transition);
}
.tour-preview:hover .tour-play-btn { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(249,115,22,0.12); }
.tour-play-btn svg { width: 28px; height: 28px; color: var(--white); margin-left: 4px; }
.tour-label {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(26,26,46,0.82); backdrop-filter: blur(8px);
  border-radius: var(--radius-md); padding: 11px 15px;
  display: flex; align-items: center; justify-content: space-between;
}
.tour-label-left span:first-child { display: block; font-size: 0.69rem; color: var(--orange-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.tour-label-left span:last-child  { color: var(--white); font-size: 0.86rem; font-weight: 500; }
.tour-tag { font-size: 0.7rem; font-weight: 700; color: var(--white); background: var(--orange); padding: 4px 10px; border-radius: 99px; }

/* ══════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; margin-top: 50px; }
.why-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 26px 20px;
  text-align: center; border: 1px solid var(--gray-100); transition: var(--transition);
}
.why-card:hover { border-color: rgba(249,115,22,0.3); box-shadow: 0 8px 32px rgba(249,115,22,0.1); transform: translateY(-4px); }
.why-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--orange-pale), rgba(249,115,22,0.05));
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; border: 1px solid rgba(249,115,22,0.18);
}
.why-icon svg { width: 24px; height: 24px; color: var(--orange); }
.why-card h4 { font-size: 0.88rem; margin-bottom: 8px; color: var(--text-dark); font-family: var(--font-body); font-weight: 700; }
.why-card p  { font-size: 0.8rem; color: var(--text-light); line-height: 1.6; }

/* ══════════════════════════════════════════════
   SERVICES GRID (static grid on homepage)
══════════════════════════════════════════════ */
.services-section { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 46px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 26px;
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--gray-100); transition: var(--transition);
  cursor: pointer; text-decoration: none; color: inherit;
}
.service-card:hover { border-color: rgba(249,115,22,0.32); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon {
  width: 50px; height: 50px; border-radius: var(--radius-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark);
}
.service-icon svg { width: 22px; height: 22px; color: var(--orange); }
.service-info h4 { font-size: 0.93rem; margin-bottom: 3px; font-family: var(--font-body); font-weight: 700; }
.service-info p  { font-size: 0.8rem; color: var(--text-light); line-height: 1.5; }

/* ══════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 50%, var(--dark-light) 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; bottom: -80px; left: -80px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
}
.cta-section::after {
  content: ''; position: absolute; top: -60px; right: -60px; width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 65%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-text h2 { color: var(--white); margin-bottom: 12px; }
.cta-text p  { color: rgba(255,255,255,0.58); max-width: 500px; }
.cta-btns    { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--dark); color: var(--white);
  padding: 68px 0 32px;
  border-top: 3px solid var(--orange);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-about p { font-size: 0.86rem; color: rgba(255,255,255,0.48); line-height: 1.8; margin: 14px 0 22px; max-width: 300px; }

/* Logo in footer */
.footer-logo img {
  height: 44px; width: auto; border-radius: 8px;
  background: var(--white); padding: 4px 8px; object-fit: contain;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.footer-social a:hover { background: rgba(249,115,22,0.2); border-color: rgba(249,115,22,0.4); }
.footer-social svg { width: 16px; height: 16px; color: rgba(255,255,255,0.58); }
.footer-social a:hover svg { color: var(--orange); }
.footer-col h5 {
  font-family: var(--font-body); font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.86rem; color: rgba(255,255,255,0.48); transition: var(--transition); }
.footer-col ul a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.32); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.32); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ══════════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════════ */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px; width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-orange); opacity: 0; pointer-events: none;
  transition: var(--transition); z-index: 999;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(249,115,22,0.5); }
.scroll-top svg { width: 19px; height: 19px; }

/* ══════════════════════════════════════════════
   AUTH MODAL
══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(26,26,46,0.7); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius-xl);
  width: 100%; max-width: 420px; overflow: hidden;
  box-shadow: var(--shadow-lg); animation: modalIn 0.3s ease;
}
@keyframes modalIn { from{opacity:0;transform:scale(0.92)} to{opacity:1;transform:scale(1)} }
.modal-header {
  padding: 26px 28px 20px;
  background: linear-gradient(135deg, var(--orange-pale), rgba(249,115,22,0.04));
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: 1.2rem; color: var(--text-dark); }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--text-mid); font-size: 1.1rem; transition: var(--transition);
}
.modal-close:hover { background: var(--gray-300); }
.modal-tabs {
  display: flex; background: var(--gray-50); margin: 20px 28px 0;
  border-radius: var(--radius-md); padding: 4px; gap: 4px;
}
.modal-tab {
  flex: 1; padding: 9px; text-align: center; font-size: 0.88rem; font-weight: 700;
  color: var(--text-light); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
}
.modal-tab.active { background: var(--dark); color: var(--white); }
.modal-body { padding: 20px 28px 28px; }
.modal-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.modal-form-group label { font-size: 0.76rem; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.06em; }
.modal-form-group input {
  width: 100%; padding: 12px 15px; font-size: 0.92rem; font-family: var(--font-body);
  color: var(--text-dark); background: var(--gray-50); border: 1.5px solid transparent;
  border-radius: var(--radius-md); outline: none; transition: var(--transition);
}
.modal-form-group input:focus { background: var(--white); border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }
.modal-submit {
  width: 100%; padding: 13px; margin-top: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white); font-family: var(--font-body); font-size: 0.96rem;
  font-weight: 700; border-radius: var(--radius-md); border: none; cursor: pointer;
  transition: var(--transition); box-shadow: var(--shadow-orange);
}
.modal-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(249,115,22,0.45); }
.modal-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.modal-divider span { font-size: 0.78rem; color: var(--text-light); white-space: nowrap; }
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-100); }
.modal-social-btns { display: flex; gap: 10px; }
.modal-social-btn {
  flex: 1; padding: 10px; border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200); background: var(--white);
  font-size: 0.82rem; font-weight: 600; color: var(--text-mid);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: var(--transition); cursor: pointer; font-family: var(--font-body);
}
.modal-social-btn:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }
.modal-social-btn svg { width: 17px; height: 17px; }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.reveal { opacity:0; transform:translateY(30px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════
   BREADCRUMB (used in inner pages)
══════════════════════════════════════════════ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* Filter sidebar (shared by buy/rent) */
.filter-chip { display:inline-flex;align-items:center;gap:6px;font-size:0.8rem;font-weight:500;background:var(--orange-pale);color:var(--dark);border:1px solid rgba(249,115,22,0.28);padding:5px 12px;border-radius:99px;cursor:pointer;transition:var(--transition); }
.filter-chip svg { width:12px;height:12px;color:var(--orange); }
.filter-chip:hover { background:rgba(249,115,22,0.18); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3,1fr); }
  .why-grid { grid-template-columns: repeat(3,1fr); }
  .props-grid { grid-template-columns: repeat(2,1fr); }
  .search-row { grid-template-columns: 1fr 1fr 1fr; }
  .search-row .search-btn { grid-column: 1/-1; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .tours-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-primary { display: none; }
  .hamburger { display: flex; }
  :root { --nav-height: 62px; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat  { flex: 1 1 40%; }
  .cat-grid   { grid-template-columns: repeat(2,1fr); }
  .props-grid { grid-template-columns: 1fr; }
  .why-grid   { grid-template-columns: repeat(2,1fr); }
  .search-card { padding: 18px 20px; }
  .search-row  { grid-template-columns: 1fr; }
  .cta-inner   { flex-direction: column; text-align: center; }
  .cta-btns    { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section     { padding: 64px 0; }
}
@media (max-width: 480px) {
  .why-grid     { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-cta     { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal-social-btns { flex-direction: column; }
}

/* Nav consistency fixes — applies globally */
.nav-logo img { height: 40px; max-width: 160px; }
.nav-links a { display: flex; align-items: center; height: 36px; line-height: 1; }




/* ══════════════════════════════════════════════
   FIX 2 — WHATSAPP FLOATING BUTTON
   Fixed bottom-left, above scroll-to-top
══════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0;
  background: #25D366;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  max-width: 52px;   /* collapsed: just the icon */
  height: 52px;
  cursor: pointer;
  border: none;
  padding: 0;
}
.whatsapp-btn:hover {
  max-width: 200px;  /* expanded: show label */
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.whatsapp-btn-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.whatsapp-btn-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.whatsapp-btn-label {
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  padding-right: 16px;
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}
.whatsapp-btn:hover .whatsapp-btn-label {
  opacity: 1;
}

/* Tooltip shown before hover expands */
.whatsapp-tooltip {
  background: var(--dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all 0.3s ease;
  margin-left: 4px;
  align-self: center;
}
/* On mobile, always show a subtle pulse ring */
@media (max-width: 768px) {
  .whatsapp-btn { max-width: 52px !important; border-radius: 50%; }
  .whatsapp-btn-label { display: none; }
  .whatsapp-btn::after {
    content: '';
    position: absolute;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(37,211,102,0.25);
    animation: waPulse 2s ease-out infinite;
  }
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Scroll-top button: move right side, whatsapp on left — no clash */
.scroll-top {
  bottom: 28px !important;
  right: 24px !important;
}


/* ── VERIFIED BROKER BADGES (Phase 4) ── */
.agent-verified-badge {
  display: inline-flex; align-items: center; gap: 3px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff; font-size: 0.58rem; font-weight: 700;
  padding: 2px 6px; border-radius: 99px;
  margin-left: 4px; vertical-align: middle;
  letter-spacing: 0.02em;
}
.agent-verified-badge svg { width: 8px; height: 8px; }
.agent-plan-badge {
  font-size: 0.72rem; margin-left: 3px; vertical-align: middle;
  display: inline-block;
}
.star-row { display: inline-flex; align-items: center; gap: 1px; }
.star { font-size: 0.72rem; }
.star.full  { color: #f59e0b; }
.star.half  { color: #f59e0b; opacity: 0.6; }
.star.empty { color: var(--gray-300); }
.star-num   { font-size: 0.7rem; font-weight: 700; color: var(--text-mid); margin-left: 3px; }

/* ── BROKER DIRECTORY CARDS (Phase 4 + 5) ── */
.broker-card {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-100); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.broker-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.broker-card.top-rated { border-color: #f59e0b; box-shadow: 0 0 0 1px #f59e0b22; }
.broker-card-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.broker-verified-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 99px;
}
.broker-verified-pill svg { width: 10px; height: 10px; }
.broker-unverified-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--gray-100); color: var(--gray-500);
  font-size: 0.68rem; font-weight: 600; padding: 3px 10px; border-radius: 99px;
}
.broker-plan-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 99px;
}
.broker-plan-pill.elite { background: rgba(249,115,22,0.12); color: var(--orange); border: 1px solid rgba(249,115,22,0.25); }
.broker-plan-pill.pro   { background: rgba(15,52,96,0.08); color: var(--dark-light); border: 1px solid rgba(15,52,96,0.2); }
.broker-plan-pill.starter { background: var(--gray-100); color: var(--text-light); }
.top-rated-crown {
  position: absolute; top: 10px; right: 10px;
  background: linear-gradient(135deg,#f59e0b,#d97706);
  color: #fff; font-size: 0.62rem; font-weight: 700;
  padding: 3px 9px; border-radius: 99px;
}

/* ══════════════════════════════════════════
   PHASE 4 — AGENT VERIFIED BADGES (prop cards)
══════════════════════════════════════════ */
.prop-agent { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.agent-verified-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff; flex-shrink: 0;
}
.agent-plan-badge { font-size: 0.75rem; line-height: 1; }
.agent-top-badge {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff; font-size: 0.58rem; font-weight: 700;
  padding: 2px 6px; border-radius: 99px; letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════
   PHASE 5 — FIND BROKER PAGE
══════════════════════════════════════════ */
.broker-dir-page { background: var(--off-white); padding: 56px 0 80px; }

/* Search + filter bar */
.broker-search-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); padding: 18px 24px;
  border-radius: var(--radius-xl); border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm); margin-bottom: 24px; flex-wrap: wrap;
}
.broker-search-input-wrap {
  flex: 1; min-width: 200px; display: flex; align-items: center;
  gap: 10px; background: var(--off-white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md); padding: 10px 14px;
  transition: var(--transition);
}
.broker-search-input-wrap:focus-within { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(249,115,22,0.08); }
.broker-search-input-wrap svg { width: 16px; height: 16px; color: var(--text-light); flex-shrink: 0; }
.broker-search-input { border: none; outline: none; background: transparent; font-family: var(--font-body); font-size: 0.9rem; color: var(--dark); width: 100%; }
.broker-filter-select {
  padding: 10px 14px; border: 1.5px solid var(--gray-100); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.85rem; color: var(--dark);
  background: var(--off-white); outline: none; cursor: pointer; transition: var(--transition);
}
.broker-filter-select:focus { border-color: var(--orange); background: var(--white); }
.verified-toggle-wrap { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600; color: var(--text-mid); white-space: nowrap; }
.verified-toggle-track {
  width: 38px; height: 22px; background: var(--gray-100); border-radius: 99px;
  position: relative; cursor: pointer; transition: var(--transition); flex-shrink: 0;
}
.verified-toggle-track.on { background: var(--orange); }
.verified-toggle-knob {
  width: 16px; height: 16px; background: var(--white); border-radius: 50%;
  position: absolute; top: 3px; left: 3px; transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.verified-toggle-track.on .verified-toggle-knob { left: 19px; }

/* Broker grid */
.broker-dir-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.broker-dir-card {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-100); overflow: hidden;
  transition: var(--transition); position: relative;
}
.broker-dir-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(249,115,22,0.25); }
.broker-dir-card.top-rated-card { border-color: var(--orange); box-shadow: 0 0 0 1px rgba(249,115,22,0.2); }

.broker-card-header { padding: 22px 22px 16px; display: flex; gap: 14px; align-items: flex-start; position: relative; }
.broker-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2.5px solid var(--gray-100); }
.broker-card-badges { position: absolute; top: 16px; right: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.b-verified-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg,#f59e0b,#d97706); color: #fff;
  font-size: 0.65rem; font-weight: 700; padding: 3px 9px; border-radius: 99px;
}
.b-verified-pill svg { width: 9px; height: 9px; }
.b-unverified-pill {
  display: inline-flex; align-items: center;
  background: var(--gray-100); color: var(--text-light);
  font-size: 0.65rem; font-weight: 600; padding: 3px 9px; border-radius: 99px;
}
.b-plan-pill {
  font-size: 0.62rem; font-weight: 700; padding: 2px 8px; border-radius: 99px;
}
.b-plan-pill.elite { background: rgba(249,115,22,0.12); color: var(--orange); border: 1px solid rgba(249,115,22,0.3); }
.b-plan-pill.pro   { background: rgba(15,52,96,0.1); color: var(--dark-light); border: 1px solid rgba(15,52,96,0.2); }
.b-plan-pill.starter { background: var(--gray-100); color: var(--text-light); }
.b-top-rated { background: linear-gradient(135deg,var(--orange),var(--orange-light)); color: #fff; font-size: 0.62rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }

.broker-name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; color: var(--dark); margin-bottom: 2px; }
.broker-city-row { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--text-light); margin-bottom: 6px; }
.broker-city-row svg { width: 12px; height: 12px; }
.broker-spec-tag { display: inline-flex; background: var(--off-white); color: var(--text-mid); font-size: 0.7rem; font-weight: 600; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--gray-100); }

/* Star rating in card */
.broker-rating-row { display: flex; align-items: center; gap: 6px; margin: 10px 0 6px; }
.star-display { display: flex; gap: 2px; }
.star-display span { font-size: 0.85rem; }
.star-full { color: #f59e0b; }
.star-half { color: #f59e0b; opacity: 0.6; }
.star-empty { color: var(--gray-100); }
.rating-num { font-size: 0.85rem; font-weight: 800; color: var(--dark); }
.review-count { font-size: 0.75rem; color: var(--text-light); }

/* Broker stats strip */
.broker-stats-strip { display: flex; gap: 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.broker-stat-item { flex: 1; padding: 12px 8px; text-align: center; border-right: 1px solid var(--gray-100); }
.broker-stat-item:last-child { border-right: none; }
.broker-stat-num   { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--dark); }
.broker-stat-label { font-size: 0.65rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }

/* CTA buttons */
.broker-cta-row { display: flex; gap: 8px; padding: 14px 16px; }
.b-cta-btn {
  flex: 1; padding: 10px 8px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); border: none; display: flex;
  align-items: center; justify-content: center; gap: 5px; text-decoration: none;
}
.b-cta-btn svg { width: 13px; height: 13px; }
.b-cta-primary { background: linear-gradient(135deg,var(--dark),var(--dark-light)); color: #fff; }
.b-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,26,46,0.3); }
.b-cta-wa { background: #25D366; color: #fff; }
.b-cta-wa:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.b-cta-outline { background: var(--off-white); color: var(--dark); border: 1.5px solid var(--gray-100) !important; }
.b-cta-outline:hover { border-color: var(--orange) !important; color: var(--orange); }

/* Latest review snippet */
.broker-review-snip { padding: 0 16px 14px; }
.review-snip-box { background: var(--off-white); border-radius: var(--radius-md); padding: 10px 12px; font-size: 0.78rem; color: var(--text-mid); line-height: 1.5; border-left: 3px solid var(--orange); }
.review-snip-author { font-size: 0.7rem; color: var(--text-light); margin-top: 5px; }

/* Rate broker modal */
.rate-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(26,26,46,0.65); z-index: 9999;
  align-items: center; justify-content: center;
}
.rate-modal-overlay.show { display: flex; }
.rate-modal-box {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 36px 32px; max-width: 460px; width: 90%;
  animation: popIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn { from { transform:scale(0.75); opacity:0; } to { transform:scale(1); opacity:1; } }
.rate-modal-box h2 { font-size: 1.2rem; margin-bottom: 4px; }
.rate-modal-box > p { font-size: 0.84rem; color: var(--text-light); margin-bottom: 20px; }
.star-picker { display: flex; gap: 8px; margin-bottom: 18px; }
.star-pick-btn {
  font-size: 1.8rem; cursor: pointer; opacity: 0.25; transition: var(--transition);
  background: none; border: none; padding: 0; line-height: 1;
}
.star-pick-btn.lit { opacity: 1; transform: scale(1.15); }
.rate-textarea {
  width: 100%; padding: 12px 14px; font-size: 0.87rem; color: var(--dark);
  background: var(--off-white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md); font-family: var(--font-body); outline: none;
  resize: vertical; min-height: 90px; transition: var(--transition); box-sizing: border-box; margin-bottom: 16px;
}
.rate-textarea:focus { background: var(--white); border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,0.08); }
.rate-name-input {
  width: 100%; padding: 11px 14px; font-size: 0.87rem; color: var(--dark);
  background: var(--off-white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md); font-family: var(--font-body); outline: none;
  transition: var(--transition); box-sizing: border-box; margin-bottom: 16px;
}
.rate-name-input:focus { background: var(--white); border-color: var(--orange); }
.rate-submit-btn {
  width: 100%; padding: 13px; background: linear-gradient(135deg,var(--orange),var(--orange-light));
  color: #fff; border: none; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: var(--transition);
}
.rate-submit-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-orange); }
.rate-cancel-btn { width: 100%; padding: 10px; background: transparent; color: var(--text-light); border: none; font-family: var(--font-body); font-size: 0.84rem; cursor: pointer; margin-top: 8px; }

/* Broker profile modal */
.broker-profile-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(26,26,46,0.7); z-index: 9999;
  align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 16px;
}
.broker-profile-modal.show { display: flex; }
.broker-profile-box {
  background: var(--white); border-radius: var(--radius-xl);
  width: 100%; max-width: 680px; overflow: hidden;
  animation: popIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.bpModal-header {
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  padding: 28px 28px 24px; position: relative;
}
.bpModal-close { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.1); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.bpModal-close:hover { background: rgba(255,255,255,0.2); }
.bpModal-top { display: flex; align-items: flex-start; gap: 16px; }
.bpModal-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.2); flex-shrink: 0; }
.bpModal-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.bpModal-city { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.bpModal-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.bpModal-body { padding: 24px 28px; }
.bpModal-section { margin-bottom: 20px; }
.bpModal-section-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 10px; }
.bpModal-bio { font-size: 0.87rem; color: var(--text-mid); line-height: 1.7; }
.bpModal-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.bpModal-stat { background: var(--off-white); border-radius: var(--radius-md); padding: 14px; text-align: center; }
.bpModal-stat-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--orange); }
.bpModal-stat-label { font-size: 0.7rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }
.review-list { display: flex; flex-direction: column; gap: 12px; }
.review-item { background: var(--off-white); border-radius: var(--radius-md); padding: 14px 16px; border-left: 3px solid var(--orange); }
.review-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-item-user { font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.review-item-date { font-size: 0.72rem; color: var(--text-light); }
.review-item-text { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; }
.bpModal-cta-row { display: flex; gap: 10px; padding: 0 28px 24px; }

/* No results */
.no-brokers { text-align: center; padding: 64px 24px; }
.no-brokers-icon { font-size: 3rem; margin-bottom: 12px; }
.no-brokers h3 { font-size: 1rem; margin-bottom: 8px; }
.no-brokers p { font-size: 0.85rem; color: var(--text-light); }

@media (max-width: 600px) {
  .broker-search-bar { padding: 12px 14px; }
  .broker-dir-grid { grid-template-columns: 1fr; }
  .bpModal-stats { grid-template-columns: repeat(3,1fr); }
  .bpModal-body { padding: 18px; }
  .bpModal-cta-row { padding: 0 18px 18px; flex-direction: column; }
}

/* ══════════════════════════════════════════════════════
   BROKER DROPDOWN NAV  — paste this into style.css
   Works for ALL pages using the same .nav-links structure
══════════════════════════════════════════════════════ */

/* The parent <li> that holds the dropdown */
.nav-links li.has-dropdown {
  position: relative;
  list-style: none;
}

/* The top-level "Broker" trigger button */
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: var(--transition);
  line-height: 1;
  height: 36px;
}
.nav-dropdown-trigger:hover,
.nav-links li.has-dropdown:hover .nav-dropdown-trigger {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* Chevron arrow icon */
.nav-dropdown-trigger .dd-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.22s ease;
  flex-shrink: 0;
  opacity: 0.7;
}
.nav-links li.has-dropdown:hover .dd-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* The dropdown panel */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 6px;
  z-index: 3000;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

/* Show on hover */
.nav-links li.has-dropdown:hover .nav-dropdown-menu,
.nav-links li.has-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Small triangle pointer */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 6px;
  background: var(--white);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Each dropdown link */
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: #fff7ed;
  color: var(--orange);
}
.nav-dropdown-menu a:hover .dd-icon {
  color: var(--orange);
}

/* Icon inside dropdown link */
.dd-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #64748b;
  transition: background 0.15s, color 0.15s;
}
.dd-icon svg {
  width: 14px;
  height: 14px;
}
.nav-dropdown-menu a:hover .dd-icon {
  background: rgba(249,115,22,0.12);
  color: var(--orange);
}

/* Divider inside dropdown */
.dd-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 4px 8px;
}

/* Active state — when on a broker-related page */
.nav-dropdown-trigger.dd-active {
  color: var(--white);
  background: rgba(249,115,22,0.2);
}



:root { --nav-height: 66px; }         /* slightly tighter */
.nav-logo img { height: 40px !important; max-width: 160px; }
.nav-inner { display: flex !important; align-items: center !important; height: var(--nav-height) !important; }
.nav-links a { display: flex; align-items: center; height: 36px; line-height: 1; }
.nav-actions { display: flex; align-items: center; height: 100%; }

