/* =====================================================
   FIEL Imobiliária — Premium Real Estate CSS
   Design: Dark Luxury / Gold Accents
   ===================================================== */

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

/* ─── CSS Variables ─────────────────────────────── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dark:   #9A7A2E;
  --black:       #0A0A0A;
  --dark:        #111111;
  --dark-2:      #1A1A1A;
  --dark-3:      #242424;
  --grey:        #888888;
  --grey-light:  #BBBBBB;
  --white:       #F8F5EF;
  --white-pure:  #FFFFFF;
  --cream:       #F5F0E8;
  --border:      rgba(201,168,76,0.2);
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:   'Jost', 'Helvetica Neue', sans-serif;
  --radius:      2px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
  --shadow:      0 8px 40px rgba(0,0,0,0.35);
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.2);
  --max-w:       1400px;
}

/* ─── 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(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.light-mode {
  background: var(--cream);
  color: var(--black);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ─── Typography ────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

.gold { color: var(--gold); }
.serif { font-family: var(--font-display); }

/* ─── Layout Utilities ──────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.grid { display: grid; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ─── Section Header ────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .overline {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--grey-light); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ─── Separator ─────────────────────────────────── */
.separator {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem auto;
  max-width: 240px;
}
.separator::before,
.separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}
.separator-diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ─── Navbar ────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition);
}
#navbar.scrolled {
  padding: 0.9rem 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo .logo-main {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
}
.nav-logo .logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language Selector */
.lang-selector {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #24211b;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(120,100,55,.45);
  border-radius: 6px;
  background: #fffdf8;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
  transition: all var(--transition);
}
.lang-btn:hover { color: #111; border-color: var(--gold); }
.lang-btn svg { width: 14px; height: 14px; }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 9px;
  padding: .45rem;
  min-width: 190px;
  box-shadow: 0 16px 38px rgba(0,0,0,.2);
  display: none;
  z-index: 100;
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #29251f;
  transition: all var(--transition);
}
.lang-dropdown a span { color:#81796b; font-size:.65rem; letter-spacing:.12em; }
.lang-dropdown a:hover { color:#111; background:#f4efe4; }
.lang-dropdown a.active { color:#111; background:#eee4cc; box-shadow:inset 3px 0 0 var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
  display: block;
}

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  font-size: 0.72rem;
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}
.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover { background: var(--cream); }
.btn-dark {
  background: var(--dark-2);
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-dark:hover { border-color: var(--gold); color: var(--gold); }

/* ─── Hero ──────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1207 100%);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: opacity 1s ease, transform 8s ease;
}
.hero-bg-img.active { opacity: 0.45; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  width: 100%;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-label::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero-title {
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  max-width: 800px;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--grey-light);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.25rem;
}

/* Hero Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 3;
}
.hero-dot {
  width: 4px; height: 24px;
  background: rgba(255,255,255,0.25);
  transition: all var(--transition);
}
.hero-dot.active {
  background: var(--gold);
  height: 36px;
}

/* ─── Search Bar ────────────────────────────────── */
#search-section {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.search-form {
  display: grid;
  grid-template-columns: 1fr 200px 180px 180px auto;
  gap: 0;
  border: 1px solid var(--border);
}
.search-input-wrap {
  position: relative;
  flex: 1;
}
.search-form input,
.search-form select {
  width: 100%;
  height: 56px;
  padding: 0 1.2rem;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}
.search-form select option { background: var(--dark-2); }
.search-form .btn {
  height: 56px;
  border-radius: 0;
  white-space: nowrap;
  padding: 0 1.8rem;
}

/* ─── Property Card ─────────────────────────────── */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2px;
}
.property-card {
  background: var(--dark-2);
  overflow: hidden;
  position: relative;
  transition: all var(--transition);
  cursor: pointer;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.property-card:hover .card-img img {
  transform: scale(1.06);
}
.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-placeholder svg { opacity: 0.2; }
.card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.badge {
  padding: 0.25rem 0.7rem;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}
.badge-gold { background: var(--gold); color: var(--black); }
.badge-dark { background: rgba(0,0,0,0.75); color: var(--white); border: 1px solid var(--border); }
.badge-sale { background: #1a3a1a; color: #6dbe6d; border: 1px solid rgba(109,190,109,0.3); }
.badge-rent { background: #1a2a3a; color: #6db0db; border: 1px solid rgba(109,176,219,0.3); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  pointer-events: none;
}
.card-price-overlay {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.card-body {
  padding: 1.4rem;
  border-bottom: 1px solid var(--border);
}
.card-location {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.card-desc {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-specs {
  display: flex;
  gap: 1.2rem;
}
.card-spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--grey-light);
}
.card-spec svg { width: 14px; height: 14px; opacity: 0.6; }
.card-consultor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-consultor img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.card-consultor-name {
  font-size: 0.68rem;
  color: var(--grey);
}

/* ─── Featured Section ──────────────────────────── */
#featured {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
#featured::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── About Section ─────────────────────────────── */
#about {
  background: var(--dark-2);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--dark-2);
}
.about-gold-line {
  width: 60px; height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}
.about-text {
  font-size: 1.05rem;
  color: var(--grey-light);
  line-height: 1.8;
  margin: 1.5rem 0 2rem;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.4rem;
}

/* ─── Team / Consultants ────────────────────────── */
#team { background: var(--dark); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
}
.consultant-card {
  background: var(--dark);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.consultant-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.consultant-card:hover::before { transform: scaleX(1); }
.consultant-card:hover { background: var(--dark-2); }
.consultant-photo {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.2rem;
  border: 2px solid var(--border);
  transition: border-color var(--transition);
}
.consultant-card:hover .consultant-photo { border-color: var(--gold); }
.consultant-photo-placeholder {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  border: 2px solid var(--border);
}
.consultant-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
}
.consultant-title {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.consultant-count {
  font-size: 0.78rem;
  color: var(--grey);
  margin-bottom: 1.2rem;
}
.consultant-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.btn-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.btn-icon:hover { border-color: var(--gold); color: var(--gold); }
.btn-icon svg { width: 16px; height: 16px; }

/* ─── Property Detail ───────────────────────────── */
.property-hero {
  position: relative;
  height: 65vh;
  min-height: 480px;
  overflow: hidden;
}
.property-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
}
.property-hero-info {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
}
.gallery-thumbs {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  gap: 0.5rem;
}
.gallery-thumb {
  width: 70px; height: 52px;
  object-fit: cover;
  opacity: 0.5;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; border-color: var(--gold); }

.property-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  padding: 3rem 0;
}
.property-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 2rem 0;
}
.property-spec-item {
  background: var(--dark-2);
  padding: 1.4rem;
  text-align: center;
}
.property-spec-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.property-spec-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
}
.property-spec-key {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 0.2rem;
}

/* Sticky Sidebar */
.property-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
}
.sidebar-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 1rem;
}
.sidebar-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.sidebar-ref {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--grey);
  margin-bottom: 1.5rem;
}
.sidebar-contact-btns {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sidebar-form input,
.sidebar-form textarea,
.sidebar-form select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  outline: none;
  transition: border-color var(--transition);
}
.sidebar-form input:focus,
.sidebar-form textarea:focus { border-color: var(--gold); }
.sidebar-form textarea { resize: vertical; min-height: 100px; }

/* Consultant Mini Card */
.consultor-card-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}
.consultor-card-mini img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.consultor-mini-name { font-weight: 500; font-size: 0.95rem; }
.consultor-mini-link {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ─── Lightbox ──────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 2rem; right: 2rem;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--white);
  opacity: 0.6;
  transition: opacity var(--transition);
  padding: 1rem;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ─── Pagination ────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  transition: all var(--transition);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ─── Filters Bar ───────────────────────────────── */
.filters-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.filter-chip {
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--grey-light);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-chip:hover, .filter-chip.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.05);
}

/* ─── Page Header ───────────────────────────────── */
.page-header {
  padding: 10rem 0 4rem;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.page-header h1 {
  position: relative;
  margin-bottom: 0.5rem;
}
.page-header .breadcrumb {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  margin-top: 0.5rem;
}
.page-header .breadcrumb a { color: var(--gold); }
.page-header .breadcrumb span { margin: 0 0.5rem; }

/* ─── Footer ────────────────────────────────────── */
#footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand .logo-main {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.footer-brand .logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.7;
  margin: 1.5rem 0;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 0.8rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--grey);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.footer-contact-item span { font-size: 0.82rem; color: var(--grey); line-height: 1.5; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.75rem; color: var(--grey); }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.72rem;
  color: var(--grey);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ─── Cookie Banner ─────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-2);
  border: 1px solid var(--border);
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  z-index: 500;
  max-width: 700px;
  width: calc(100% - 2rem);
  box-shadow: var(--shadow);
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { font-size: 0.82rem; color: var(--grey-light); flex: 1; }
.cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* ─── Back to Top ───────────────────────────────── */
#back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 400;
}
#back-top.visible { opacity: 1; pointer-events: all; }
#back-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ─── Loading Skeleton ──────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--dark-3) 25%, var(--dark-2) 50%, var(--dark-3) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Animations ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-3 { animation-delay: 0.3s; opacity: 0; }
.fade-up-4 { animation-delay: 0.4s; opacity: 0; }

/* ─── Backoffice ────────────────────────────────── */
.bo-body {
  background: #0D0D0D;
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  color-scheme: dark; /* dropdowns/selects nativos em modo escuro e legíveis */
}
.bo-layout {
  display: flex;
  min-height: 100vh;
}
.bo-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--black);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.bo-logo {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.bo-logo .logo-main {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.bo-logo .logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.bo-nav {
  flex: 1;
  padding: 1.5rem 0;
}
.bo-nav-section {
  padding: 0 1.5rem;
  margin-bottom: 0.3rem;
}
.bo-nav-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 1rem 0 0.5rem;
  display: block;
}
.bo-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
  color: var(--grey-light);
  border-radius: 2px;
  transition: all var(--transition);
  margin-bottom: 0.15rem;
}
.bo-nav a svg { width: 16px; height: 16px; flex-shrink: 0; }
.bo-nav a:hover { background: var(--dark-2); color: var(--white); }
.bo-nav a.active { background: rgba(201,168,76,0.1); color: var(--gold); }
.bo-user {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}
.bo-user-info { font-size: 0.82rem; }
.bo-user-name { font-weight: 500; margin-bottom: 0.2rem; }
.bo-user-role { font-size: 0.7rem; color: var(--gold); }
.bo-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--grey);
  margin-top: 0.8rem;
  transition: color var(--transition);
}
.bo-logout:hover { color: var(--white); }

.bo-main {
  flex: 1;
  overflow-x: hidden;
}
.bo-topbar {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.bo-page-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.bo-content { padding: 2rem; }

/* Logo row + close button */
.bo-logo { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.bo-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  color: var(--grey-light);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}
.bo-sidebar-close:hover { color: var(--white); border-color: var(--gold); }

/* Password show/hide (olho) — funciona em qualquer input[type=password] */
.pw-field { position: relative; display: block; }
.pw-field > input { padding-right: 2.8rem !important; }
.pw-toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  padding: 0;
  color: var(--grey);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.pw-toggle:hover { color: var(--gold); background: rgba(201,168,76,0.08); }
.pw-toggle:active { transform: translateY(-50%) scale(0.92); }
.pw-toggle svg { width: 19px; height: 19px; pointer-events: none; }
.pw-toggle .pw-icon-off { display: none; }
.pw-toggle.is-visible .pw-icon-on { display: none; }
.pw-toggle.is-visible .pw-icon-off { display: inline; }

/* Hamburger toggle — hidden on desktop, shown on mobile via media query */
.bo-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: var(--white);
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}
.bo-menu-toggle:hover { border-color: var(--gold); color: var(--gold); }
.bo-menu-toggle:active { transform: scale(0.95); }

/* Backdrop behind the mobile sidebar */
.bo-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  z-index: 190;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.bo-backdrop.open { opacity: 1; }
body.bo-nav-open { overflow: hidden; }

.bo-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.bo-stat-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  padding: 1.5rem;
}
.bo-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.bo-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.bo-table-wrap {
  background: var(--dark-2);
  border: 1px solid var(--border);
  overflow-x: auto;
}
.bo-table {
  width: 100%;
  border-collapse: collapse;
}
.bo-table th {
  padding: 0.9rem 1.2rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
.bo-table td {
  padding: 0.9rem 1.2rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(201,168,76,0.07);
  vertical-align: middle;
}
.bo-table tr:last-child td { border-bottom: none; }
.bo-table tr:hover td { background: rgba(255,255,255,0.02); }
.bo-table .thumb {
  width: 52px; height: 40px;
  object-fit: cover;
  flex-shrink: 0;
}
.bo-table .title-cell { max-width: 260px; }
.bo-table .title-cell strong { display: block; margin-bottom: 0.15rem; }
.bo-table .title-cell small { font-size: 0.73rem; color: var(--grey); }
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
}
.status-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-active { color: #6dbe6d; }
.status-inactive { color: var(--grey); }
.status-featured { color: var(--gold); }
.bo-actions { display: flex; gap: 0.4rem; align-items: center; }
.bo-btn-sm {
  padding: 0.35rem 0.7rem;
  font-size: 0.7rem;
  border: 1px solid var(--border);
  color: var(--grey-light);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.bo-btn-sm:hover { border-color: var(--gold); color: var(--gold); }
.bo-btn-sm.danger:hover { border-color: #e05555; color: #e05555; }
.bo-btn-sm svg { width: 13px; height: 13px; }

/* Form Styles */
.bo-form { max-width: 900px; }
.form-group { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--gold); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Dropdowns legíveis em todo o backoffice.
   color-scheme:dark faz o Chrome/Edge desenhar o popup NATIVO em modo escuro
   (fundo escuro + texto branco de alto contraste). É o que resolve mesmo o
   problema do "branco sobre branco" no Windows. Reforçamos com bg/cor das opções
   para os browsers que as respeitam. */
.bo-body select,
.bo-body input,
.bo-body textarea,
.form-control {
  color-scheme: dark;
}
.bo-body select option,
.bo-body select optgroup,
.form-control option {
  background-color: #1c1c1c !important;
  color: #f5f5f5 !important;
}
.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.form-tab {
  padding: 0.6rem 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.form-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.form-tab-content { display: none; }
.form-tab-content.active { display: block; }

/* Image Upload */
.image-upload-zone {
  border: 2px dashed var(--border);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.image-upload-zone:hover, .image-upload-zone.drag-over {
  border-color: var(--gold);
  background: rgba(201,168,76,0.03);
}
.image-upload-zone p { font-size: 0.85rem; color: var(--grey); margin-top: 0.5rem; }
.image-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}
.image-preview-item {
  position: relative;
  aspect-ratio: 4/3;
}
.image-preview-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.image-preview-remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,0.75);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.image-preview-remove:hover { background: #e05555; }

/* Alerts */
.alert {
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  border-left: 3px solid;
}
.alert-success { background: rgba(109,190,109,0.1); border-color: #6dbe6d; color: #6dbe6d; }
.alert-error { background: rgba(224,85,85,0.1); border-color: #e05555; color: #e05555; }
.alert-warning { background: rgba(201,168,76,0.1); border-color: var(--gold); color: var(--gold); }

/* Toggle Switch */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.toggle {
  position: relative;
  width: 44px; height: 24px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--dark-3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: var(--grey);
  transition: all var(--transition);
}
input:checked + .toggle-slider { background: rgba(201,168,76,0.2); border-color: var(--gold); }
input:checked + .toggle-slider::before { background: var(--gold); transform: translateX(20px); }
.toggle-label { font-size: 0.82rem; }

/* Login Page */
.bo-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.bo-login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 65%);
}
.bo-login-card {
  position: relative;
  background: var(--dark-2);
  border: 1px solid var(--border);
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
}
.bo-login-logo {
  text-align: center;
  margin-bottom: 2.5rem;
}
.bo-login-logo .logo-main {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.bo-login-logo .logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

/* ─── Consultant Page ───────────────────────────── */
.consultant-hero {
  padding: 10rem 0 4rem;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}
.consultant-profile {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
.consultant-profile-photo {
  width: 180px; height: 180px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
}
.consultant-profile-photo-placeholder {
  width: 180px; height: 180px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--dark-2);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.consultant-profile-name {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 0.3rem;
}
.consultant-profile-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.consultant-profile-contact {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ─── Maps / Location ───────────────────────────── */
.map-container {
  width: 100%;
  height: 300px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-placeholder {
  text-align: center;
  color: var(--grey);
}

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-grid { gap: 3rem; }
  .properties-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 992px) {
  .property-layout { grid-template-columns: 1fr; }
  .property-sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 500px; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-form .btn { grid-column: 1 / -1; }
  .bo-sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    z-index: 200;
    transition: left 0.28s cubic-bezier(0.4,0,0.2,1);
    box-shadow: none;
  }
  .bo-sidebar.open { left: 0; box-shadow: 0 0 40px rgba(0,0,0,0.6); }
  .bo-main { margin-left: 0; width: 100%; min-width: 0; }
  .bo-menu-toggle { display: inline-flex !important; }
  .bo-sidebar-close { display: inline-flex; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .properties-grid { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .gallery-thumbs { display: none; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .container { padding: 0 1rem; }
  .section { padding: 4rem 0; }
  .search-form { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Backoffice mobile ── */
  .bo-topbar { padding: 0.75rem 1rem; gap: 0.75rem; }
  .bo-page-title { font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bo-content { padding: 1.25rem 1rem; }
  .bo-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .bo-stat-card { padding: 1rem; }
  .bo-stat-num { font-size: 1.9rem; }
  /* Tabelas largas rolam horizontalmente em vez de rebentar o layout */
  .bo-content table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .bo-form-grid, .bo-form-row, .form-row, .form-row-3 { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-stats { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .bo-login-card { padding: 2rem 1.5rem; }
  .property-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .bo-stats-grid { grid-template-columns: 1fr; }
  .bo-stat-num { font-size: 2.1rem; }
  .bo-page-title { font-size: 1.05rem; }
}

/* ─── Mobile Nav ────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 999;
  padding: 6rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--border); }
.mobile-nav a {
  display: block;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

/* ─── Whatsapp Float ────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  width: 50px; height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 26px; height: 26px; }
