/* Humans Guías Inmobiliarios — estilos */

/* ── TOKENS ───────────────────────────────────────────── */
:root {
  --dark:    #1a1a1a;
  --gold:    #b4975a;
  --gold-lt: #c9ae7a;
  --bg:      #faf9f7;
  --bg2:     #f2f0ec;
  --muted:   #888880;
  --border:  #e8e4dc;
  --white:   #ffffff;
  --font-h:  "Dosis", sans-serif;
  --font-b:  "Karla", sans-serif;
  --nav-h:   76px;
  --radius:  6px;
  --shadow:  0 4px 32px rgba(0,0,0,0.08);

  /* Legacy alias kept for admin templates */
  --humans-dark: var(--dark);
  --humans-accent: var(--gold);
  --humans-muted: var(--muted);
  --navbar-height: var(--nav-h);
  --font-body: var(--font-b);
  --font-heading: var(--font-h);
}

/* ── RESET / BASE ─────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.6;
}
body:not(.home-page) { padding-top: var(--nav-h); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
img { max-width: 100%; }

/* ── NAV ──────────────────────────────────────────────── */
.public-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 2.5rem;
  background: rgba(250,249,247,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
  min-height: var(--nav-h);
}
.public-navbar.dark-hero {
  background: transparent;
  border-bottom-color: rgba(255,255,255,0.1);
}
.public-navbar.dark-hero .nav-logo-dark { display: none; }
.public-navbar.dark-hero .nav-logo-light { display: inline-flex; }
.public-navbar.dark-hero .nav-link { color: rgba(255,255,255,0.85); }
.public-navbar.dark-hero .nav-link:hover,
.public-navbar.dark-hero .nav-link.active { color: #fff; }
.public-navbar.dark-hero .nav-phone { border-color: rgba(255,255,255,0.4); color: #fff; }
.public-navbar.dark-hero .nav-phone:hover { background: rgba(255,255,255,0.12); }
.public-navbar.dark-hero .nav-icon,
.public-navbar.dark-hero .nav-lang { color: rgba(255,255,255,0.8); }
.public-navbar.dark-hero .nav-icon:hover,
.public-navbar.dark-hero .nav-lang:hover { color: #fff; }

.nav-inner {
  width: 100%;
  display: flex; align-items: center;
  max-width: 1400px; margin: 0 auto;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo-light { display: none; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 0; flex: 1; justify-content: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-link {
  font-family: var(--font-h); font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--dark); padding: 0.5rem 1.1rem;
  transition: color 0.2s; border-radius: 4px;
  text-decoration: none; display: inline-block;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-icon {
  color: var(--dark); font-size: 1rem;
  transition: color 0.2s; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.nav-icon:hover { color: var(--gold); }
.nav-icon .badge {
  background: var(--gold); color: #fff;
  font-size: 0.65rem; padding: 1px 5px; border-radius: 10px;
}
.nav-lang {
  font-family: var(--font-h); font-size: 0.8rem; font-weight: 600;
  color: var(--dark); text-decoration: none; letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-lang:hover { color: var(--gold); }
.nav-phone {
  font-family: var(--font-h); font-size: 0.8rem; font-weight: 600;
  border: 1.5px solid var(--border); border-radius: 4px;
  padding: 0.4rem 1rem; color: var(--dark);
  transition: all 0.2s; white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.nav-phone:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.nav-toggler {
  display: none; background: transparent; border: none;
  color: var(--dark); font-size: 1.4rem; padding: 0.25rem 0.5rem;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.35) 60%, rgba(10,10,10,0.6) 100%),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  text-align: center; color: #fff;
}
.hero-eyebrow {
  font-family: var(--font-h); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--gold-lt); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem; justify-content: center;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; width: 32px; height: 1px; background: var(--gold-lt); opacity: 0.6;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800;
  letter-spacing: -0.02em; color: #fff;
  max-width: 820px; margin: 0 auto 1.25rem;
  text-wrap: balance;
}
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,0.75);
  max-width: 520px; margin: 0 auto 2.5rem; font-weight: 400;
}
.hero-search {
  background: #fff; border-radius: 8px;
  display: flex; align-items: stretch;
  max-width: 820px; width: 100%;
  box-shadow: 0 8px 48px rgba(0,0,0,0.25);
  overflow: hidden;
}
.hero-search-field {
  flex: 1; display: flex; flex-direction: column;
  padding: 1rem 1.4rem; border-right: 1px solid var(--border);
  min-width: 0; text-align: left;
}
.hero-search-field label {
  font-family: var(--font-h); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 0.2rem;
}
.hero-search-field select, .hero-search-field input {
  border: none; outline: none; background: transparent;
  font-family: var(--font-b); font-size: 0.95rem; color: var(--dark);
  font-weight: 500; padding: 0; width: 100%;
  appearance: none; -webkit-appearance: none;
}
.hero-search-btn {
  background: var(--gold); border: none; color: #fff;
  padding: 0 2rem; font-family: var(--font-h);
  font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 0.6rem;
  transition: background 0.2s; white-space: nowrap; cursor: pointer;
}
.hero-search-btn:hover { background: var(--gold-lt); }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 36px; background: rgba(255,255,255,0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── STATS STRIP ──────────────────────────────────────── */
.stats-strip {
  background: var(--dark); color: #fff;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 2.5rem 2rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-h); font-size: 2.6rem; font-weight: 800;
  color: var(--gold); line-height: 1;
}
.stat-label {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

/* ── SECTION HELPERS ──────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--bg2); }
.container {
  max-width: 1240px; margin: 0 auto; padding: 0 2rem;
  width: 100%;
}
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.section-eyebrow {
  font-family: var(--font-h); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold); margin-bottom: 0.75rem;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; }
.section-sub { color: var(--muted); font-size: 1rem; margin-top: 0.75rem; max-width: 560px; }
.section-header.centered .section-sub { margin: 0.75rem auto 0; }
.section-action { margin-top: 2.5rem; text-align: center; }

/* ── PROPERTY CARDS ───────────────────────────────────── */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.prop-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
}
.prop-card:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  color: inherit;
}
.prop-card-img {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--bg2);
}
.prop-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.prop-card:hover .prop-card-img img { transform: scale(1.04); }
.prop-card-img .no-image {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: var(--border); font-size: 2.5rem;
}
.prop-card-badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-h); font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 3px;
  background: var(--dark); color: #fff;
}
.prop-card-badge.renta { background: var(--gold); }
.prop-card-actions {
  position: absolute; top: 14px; right: 14px;
  display: flex; gap: 6px;
}
.prop-btn-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark); font-size: 0.95rem;
  transition: all 0.2s; cursor: pointer;
}
.prop-btn-icon:hover,
.prop-btn-icon.active { background: var(--gold); color: #fff; }
.prop-card-body {
  padding: 1.25rem 1.4rem 1.4rem; flex: 1;
  display: flex; flex-direction: column;
}
.prop-card-location {
  font-size: 0.76rem; color: var(--gold); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem;
  display: flex; align-items: center; gap: 0.3rem;
}
.prop-card-title {
  font-size: 1.05rem; font-weight: 700; margin: 0 0 0.5rem;
  color: var(--dark);
}
.prop-card-title a { color: inherit; text-decoration: none; }
.prop-card-title a:hover { color: var(--gold); }
.prop-card-price {
  font-family: var(--font-h); font-size: 1.3rem; font-weight: 800;
  color: var(--dark); margin-bottom: 0.9rem;
}
.prop-card-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--muted);
  padding-top: 0.9rem; border-top: 1px solid var(--border);
  margin-top: auto;
}
.prop-card-meta span { display: flex; align-items: center; gap: 0.3rem; }
.prop-card-meta i { color: var(--gold); font-size: 0.9rem; }

/* ── NEIGHBORHOODS ────────────────────────────────────── */
.hoods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 0.75rem;
}
.hood-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; text-decoration: none; color: inherit;
  display: block;
}
.hood-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.hood-item:nth-child(2) { grid-column: 3; grid-row: 1; }
.hood-item:nth-child(3) { grid-column: 4; grid-row: 1; }
.hood-item:nth-child(4) { grid-column: 1; grid-row: 2; }
.hood-item:nth-child(5) { grid-column: 2; grid-row: 2; }
.hood-item:nth-child(6) { grid-column: 3 / 5; grid-row: 2; }
.hood-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.hood-item:hover .hood-img { transform: scale(1.05); }
.hood-item-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--dark), #3a3a3a);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 2.5rem;
}
.hood-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem; color: #fff;
}
.hood-name {
  font-family: var(--font-h); font-size: 1.05rem; font-weight: 700;
}
.hood-count { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 0.2rem; }

/* ── WHY HUMANS ───────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
}
.why-item { text-align: center; padding: 2.5rem 2rem; }
.why-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; color: #fff; font-size: 1.5rem;
}
.why-item h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.why-item p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; margin: 0; }

/* ── TESTIMONIALS ─────────────────────────────────────── */
.testimonials-section { background: var(--dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 2rem; color: #fff;
}
.testimonial-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.95rem; line-height: 1.7;
  color: rgba(255,255,255,0.75); margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(180,151,90,0.3); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: var(--font-h); font-weight: 800;
  font-size: 0.9rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.88rem; }
.testimonial-role { font-size: 0.76rem; color: rgba(255,255,255,0.45); margin-top: 0.1rem; }

/* ── TEAM ─────────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.agent-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none; color: inherit; display: block;
}
.agent-card:hover {
  box-shadow: var(--shadow); transform: translateY(-3px);
  color: inherit;
}
.agent-card-img {
  aspect-ratio: 3/4; overflow: hidden;
  background: var(--bg2); position: relative;
}
.agent-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.agent-card:hover .agent-card-img img { transform: scale(1.04); }
.agent-card-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: monospace; font-size: 0.75rem; color: var(--muted);
  background: repeating-linear-gradient(45deg, var(--bg2) 0px, var(--bg2) 8px, var(--border) 8px, var(--border) 9px);
  flex-direction: column; gap: 0.5rem; text-align: center; padding: 1rem;
}
.agent-card-body { padding: 1.25rem 1rem 1.5rem; }
.agent-card-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.agent-card-role {
  font-size: 0.78rem; color: var(--gold); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem;
}
.agent-card-links { display: flex; justify-content: center; gap: 0.5rem; }
.agent-link {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--muted); transition: all 0.2s;
  text-decoration: none;
}
.agent-link:hover { border-color: var(--gold); color: var(--gold); }

/* ── CTA BANNER ───────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #8a6f3a 100%);
  padding: 5rem 2rem; text-align: center; color: #fff;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.cta-banner p {
  font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem;
  max-width: 540px; margin-left: auto; margin-right: auto;
}
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-humans {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-h); font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.85rem 1.8rem; border-radius: 4px;
  border: 2px solid transparent; transition: all 0.2s; cursor: pointer;
  white-space: nowrap; text-decoration: none;
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); color: #fff; }
.btn-outline-dark-humans { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline-dark-humans:hover { background: var(--dark); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.btn-dark-humans { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark-humans:hover { background: #2d2d2d; color: #fff; }
.btn-sm-humans { padding: 0.55rem 1.2rem; font-size: 0.75rem; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: #111; color: rgba(255,255,255,0.55);
  padding: 4rem 0 2rem;
}
.footer a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { margin-bottom: 1.25rem; filter: brightness(0) invert(1); height: 36px; width: auto; display: block; }
.footer-tagline { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 {
  color: #fff; font-family: var(--font-h); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.88rem; transition: color 0.2s; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; margin-bottom: 0.75rem; }
.footer-contact-item i { color: var(--gold); margin-top: 0.15rem; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem; display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ── INNER-PAGE HEADER (dark) ─────────────────────────── */
.page-hero {
  background: var(--dark); padding: 3.5rem 0 3rem;
  color: #fff; text-align: center;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 0.5rem; color: #fff; }
.page-hero p { color: rgba(255,255,255,0.55); font-size: 0.95rem; margin: 0; }

/* ── PROPERTIES PAGE ──────────────────────────────────── */
.props-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; padding: 2.5rem 0; }
.props-filters { position: sticky; top: calc(var(--nav-h) + 1rem); }
.filter-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem;
}
.filter-card h4 {
  font-family: var(--font-h); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  margin-bottom: 1rem;
}
.filter-group { margin-bottom: 0.75rem; }
.filter-label { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.3rem; display: block; }
.filter-select, .filter-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 4px;
  padding: 0.55rem 0.85rem; font-family: var(--font-b); font-size: 0.88rem;
  background: var(--bg); color: var(--dark); outline: none;
  transition: border-color 0.2s;
}
.filter-select:focus, .filter-input:focus { border-color: var(--gold); }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.filter-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter-chip {
  padding: 0.35rem 0.85rem; border-radius: 20px; font-size: 0.78rem;
  font-weight: 600; border: 1.5px solid var(--border); cursor: pointer;
  transition: all 0.2s; background: transparent; color: var(--muted);
  font-family: var(--font-h); text-decoration: none; display: inline-block;
}
.filter-chip.active { border-color: var(--gold); color: var(--gold); background: rgba(180,151,90,0.08); }
.filter-chip:hover:not(.active) { border-color: var(--dark); color: var(--dark); }

.props-results-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.results-count { font-size: 0.88rem; color: var(--muted); }
.results-sort { display: flex; align-items: center; gap: 0.5rem; }
.results-sort label { font-size: 0.82rem; color: var(--muted); margin: 0; }
.results-sort select {
  font-family: var(--font-b); font-size: 0.85rem;
  border: 1.5px solid var(--border); border-radius: 4px;
  padding: 0.35rem 0.7rem; background: var(--white); outline: none;
}

/* ── CONTACT PAGE ─────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; padding: 4rem 0; align-items: start; }
.contact-info-block { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-title { font-size: 1.6rem; margin-bottom: 0.5rem; }
.contact-info-sub { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 0.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-item-text strong { display: block; font-size: 0.88rem; margin-bottom: 0.15rem; }
.contact-info-item-text span,
.contact-info-item-text a { font-size: 0.88rem; color: var(--muted); text-decoration: none; }
.contact-info-item-text a:hover { color: var(--gold); }
.contact-form-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.contact-form-card p.lead { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.75rem; }
.form-humans .form-group { margin-bottom: 1.1rem; }
.form-humans .form-label {
  display: block; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 0.4rem; color: var(--dark);
}
.form-humans .form-control {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: 4px;
  font-family: var(--font-b); font-size: 0.9rem; color: var(--dark);
  background: var(--bg); outline: none; transition: border-color 0.2s;
}
.form-humans .form-control:focus { border-color: var(--gold); background: #fff; }
.form-humans .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

/* ── WHATSAPP FLOAT ───────────────────────────────────── */
.whatsapp-fab {
  position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 200;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); color: #fff; }

/* ── PROPERTY DETAIL ──────────────────────────────────── */
.detail-gallery-main {
  aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius);
  background: var(--bg2); margin-bottom: 0.5rem; cursor: zoom-in;
  border: 1px solid var(--border);
}
.detail-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.5rem;
}
.detail-thumbs img {
  aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%;
  border-radius: 4px; cursor: pointer; opacity: 0.7;
  transition: opacity 0.2s;
}
.detail-thumbs img.active,
.detail-thumbs img:hover { opacity: 1; }
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox-overlay img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.agent-contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky; top: calc(var(--nav-h) + 1rem);
}
.agent-contact-header {
  background: var(--dark); color: #fff;
  padding: 1.5rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
}
.agent-contact-header img,
.agent-contact-avatar-placeholder {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: #2a2a2a;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.75rem;
}
.agent-contact-meta { flex: 1; min-width: 0; }
.agent-contact-name { font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; color: #fff; line-height: 1.2; }
.agent-contact-role { font-size: 0.72rem; color: var(--gold-lt); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }
.agent-contact-phone {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--gold); font-size: 0.85rem; font-weight: 600;
  margin-top: 0.4rem; text-decoration: none;
}
.agent-contact-phone:hover { color: var(--gold-lt); text-decoration: underline; }
.agent-contact-body { padding: 1.5rem; }
.btn-whatsapp {
  background: #25d366; color: #fff; border: none;
  padding: 0.85rem 1rem; border-radius: 8px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.btn-whatsapp:hover { background: #1ebd5b; color: #fff; }
.agent-contact-divider {
  position: relative; text-align: center; margin: 1.25rem 0;
  font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em;
}
.agent-contact-divider::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px;
  background: var(--border);
}
.agent-contact-divider span { background: var(--white); padding: 0 0.75rem; position: relative; }
.agent-contact-form { display: flex; flex-direction: column; gap: 0.6rem; }
.agent-contact-form .form-control {
  font-size: 0.9rem; padding: 0.6rem 0.8rem;
  border: 1px solid var(--border); border-radius: 8px;
}
.agent-contact-form .form-control:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 161, 101, 0.15);
}
.agent-contact-form textarea.form-control { resize: vertical; min-height: 80px; }
.agent-contact-form button[type="submit"] {
  background: var(--dark); color: #fff; border: none;
  padding: 0.85rem 1rem; border-radius: 8px; font-weight: 600;
  margin-top: 0.25rem;
  transition: background 0.2s;
}
.agent-contact-form button[type="submit"]:hover { background: #000; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 991px) {
  .public-navbar { padding: 0 1.5rem; }
  .nav-links { gap: 0.25rem; }
  .nav-link { padding: 0.4rem 0.7rem; font-size: 0.75rem; }
  .nav-right { gap: 0.6rem; }
}
@media (max-width: 900px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .props-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hoods-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hood-item { aspect-ratio: 4/3; }
  .hood-item:nth-child(n) { grid-column: auto; grid-row: auto; }
  .props-layout { grid-template-columns: 1fr; }
  .props-filters { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; }
  .hero-search { flex-direction: column; }
  .hero-search-field { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-search-btn { padding: 1rem; justify-content: center; }
  .section { padding: 3.5rem 0; }
  .contact-form-card { padding: 1.75rem; }
}
@media (max-width: 600px) {
  .props-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .public-navbar { padding: 0 1rem; }
  .nav-links { display: none; }
  .nav-toggler { display: inline-flex; }
  .nav-links.show {
    display: flex; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); flex-direction: column; padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 99;
  }
  .public-navbar.dark-hero .nav-links.show { background: var(--bg); }
  .public-navbar.dark-hero .nav-links.show .nav-link { color: var(--dark); }
  .container { padding: 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── ADMIN (preserved) ────────────────────────────────── */
.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 220px;
  background: var(--humans-dark);
  color: #ddd;
  padding: 1.5rem 0;
}

.admin-sidebar .brand {
  font-weight: 800;
  color: #fff;
  padding: 0 1.25rem 1rem;
  border-bottom: 1px solid #333;
  margin-bottom: 1rem;
}

.admin-sidebar .nav-link {
  color: #ccc;
  padding: 0.5rem 1.25rem;
  border-left: 3px solid transparent;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
}

.admin-sidebar .nav-link:hover {
  background: #2a2a2a;
  color: #fff;
}

.admin-sidebar .nav-link.active {
  background: #2a2a2a;
  color: var(--humans-accent);
  border-left-color: var(--humans-accent);
}

.admin-sidebar .nav-link i {
  width: 20px;
  margin-right: 8px;
}

.admin-main {
  flex: 1;
  padding: 1.5rem 2rem;
  background: #f8f9fa;
  min-width: 0;
}

.admin-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.quality-alert {
  padding: 0.75rem 1rem;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.quality-alert strong {
  color: #6b4e00;
}

/* Login */
.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f9;
}

.login-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 400px;
}

/* Admin body override: no padding-top from home rule; admin has its own layout */
body.admin-body { padding-top: 0 !important; }
