/* ==========================================================================
   BEAR REAL ESTATE — Design System
   Palette:  Cream #F7F3EC · Sand #ECE3D6 · Tan #B08968
             Espresso #3C2A1E · Brick #9B2C20 · Charcoal #2B2723
   Type:     Display = Oswald (condensed, architectural)
             Body    = Lora (warm serif, upscale trust)
             Utility = Inter (nav, labels, prices, forms)
   ========================================================================== */

:root {
  --cream: #F7F3EC;
  --sand: #ECE3D6;
  --tan: #B08968;
  --espresso: #3C2A1E;
  --brick: #9B2C20;
  --brick-dark: #7C2118;
  --charcoal: #2B2723;
  --white: #FFFFFF;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Lora', serif;
  --font-utility: 'Inter', sans-serif;

  --radius: 2px;
  --shadow-card: 0 8px 24px rgba(60, 42, 30, 0.10);
  --shadow-lift: 0 16px 40px rgba(60, 42, 30, 0.18);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--espresso);
  font-weight: 600;
  line-height: 1.1;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
}

.lede {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #5A5147;
  max-width: 640px;
}

/* ---------- Skyline divider (signature element) ---------- */
.skyline {
  height: 30px;
  width: 100%;
  background-image: url('../images/skyline-divider-brick.svg');
  background-repeat: repeat-x;
  background-size: 120px 30px;
  background-position: bottom;
}
.skyline--cream {
  background-image: url('../images/skyline-divider-cream.svg');
}
.skyline--flip { transform: scaleY(-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-utility);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brick); color: var(--white); }
.btn-primary:hover { background: var(--brick-dark); box-shadow: var(--shadow-card); }
.btn-outline { background: transparent; border-color: var(--espresso); color: var(--espresso); }
.btn-outline:hover { background: var(--espresso); color: var(--white); }
.btn-light { background: var(--cream); color: var(--espresso); }
.btn-light:hover { background: var(--white); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sand);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 48px; width: auto; }
.nav-brand .brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--espresso);
  line-height: 1.1;
}
.nav-brand .brand-text span {
  display: block;
  font-family: var(--font-utility);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--brick);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-utility);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--brick);
  transition: width 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brick); }

.nav-tools { display: flex; align-items: center; gap: 14px; }
.toggle-pill {
  display: flex;
  border: 1px solid var(--tan);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-utility);
  font-size: 0.78rem;
  font-weight: 600;
}
.toggle-pill button {
  background: transparent;
  border: none;
  padding: 6px 12px;
  color: var(--espresso);
}
.toggle-pill button.is-active {
  background: var(--espresso);
  color: var(--white);
}
.nav-cta { display: none; }
@media (min-width: 880px) { .nav-cta { display: inline-flex; } }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-burger span { width: 24px; height: 2px; background: var(--espresso); }

@media (max-width: 880px) {
  .nav-links { 
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--sand);
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
    padding: 0 var(--gutter);
  }
  .nav-links.is-open { max-height: 400px; padding: 12px var(--gutter) 20px; }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--sand); }
  .nav-burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(43,31,22,0.55), rgba(43,31,22,0.75)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
  color: var(--white);
  padding-top: 90px;
  padding-bottom: 140px;
}
.hero-inner { max-width: 760px; }
.hero .eyebrow { color: var(--tan); }
.hero h1 { color: var(--white); margin: 14px 0 18px; }
.hero p.lede { color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* Search widget overlapping hero bottom edge ("lobby desk") */
.search-widget {
  position: relative;
  margin: -86px auto 0;
  max-width: var(--container);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 28px var(--gutter) 24px;
  z-index: 10;
}
.search-widget .tabs { display: flex; gap: 4px; margin-bottom: 18px; }
.search-widget .tabs button {
  font-family: var(--font-utility);
  font-weight: 600; font-size: 0.85rem;
  background: var(--sand); color: var(--espresso);
  border: none; padding: 9px 22px; border-radius: 999px 999px 0 0;
}
.search-widget .tabs button.is-active { background: var(--espresso); color: var(--white); }
.search-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 16px;
  align-items: end;
}
@media (max-width: 1000px) { .search-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .search-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-utility);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A7E70;
  margin-bottom: 6px;
}
.field select, .field input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-utility);
  font-size: 0.92rem;
}
.field select:focus, .field input:focus { border-color: var(--brick); }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--espresso); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--sand { background: var(--sand); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* ---------- Property Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.property-card .media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.property-card .media img { width: 100%; height: 100%; object-fit: cover; }
.property-card .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--brick); color: var(--white);
  font-family: var(--font-utility); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.property-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.property-card .price {
  font-family: var(--font-utility); font-weight: 700; font-size: 1.2rem; color: var(--brick);
}
.property-card .price small { font-weight: 500; color: #8A7E70; font-size: 0.74rem; }
.property-card h3 { font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
.property-card .location {
  font-family: var(--font-utility); font-size: 0.84rem; color: #7A6F62;
  display: flex; align-items: center; gap: 6px;
}
.property-card .specs {
  display: flex; gap: 16px; font-family: var(--font-utility); font-size: 0.82rem;
  color: var(--espresso); border-top: 1px solid var(--sand); padding-top: 12px; margin-top: auto;
}
.property-card .specs span { display: flex; align-items: center; gap: 5px; }

/* ---------- Neighborhood cards ---------- */
.neigh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .neigh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .neigh-grid { grid-template-columns: 1fr; } }
.neigh-card { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; }
.neigh-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.neigh-card:hover img { transform: scale(1.06); }
.neigh-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,31,22,0) 40%, rgba(43,31,22,0.88) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  color: var(--white);
}
.neigh-card .overlay .tag {
  font-family: var(--font-utility); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--tan); margin-bottom: 6px;
}
.neigh-card .overlay h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 6px; }
.neigh-card .overlay p { font-size: 0.88rem; color: rgba(255,255,255,0.85); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.testi-card .stars { color: var(--brick); font-size: 0.95rem; letter-spacing: 2px; }
.testi-card p.quote { font-family: var(--font-body); font-style: italic; font-size: 1.02rem; color: var(--charcoal); }
.testi-card .person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-card .person .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--tan);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-display); font-weight: 700;
}
.testi-card .person .name { font-family: var(--font-utility); font-weight: 600; font-size: 0.92rem; }
.testi-card .person .loc { font-family: var(--font-utility); font-size: 0.78rem; color: #8A7E70; }

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--brick); }
.stat .label { font-family: var(--font-utility); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tan); margin-top: 6px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.form-field label {
  display: block; font-family: var(--font-utility); font-size: 0.8rem; font-weight: 600;
  margin-bottom: 8px; color: var(--espresso);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--sand);
  border-radius: var(--radius); background: var(--white); color: var(--charcoal);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--brick); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-family: var(--font-utility); font-size: 0.8rem; color: #8A7E70; margin-top: 14px; }
.form-success {
  display: none; background: var(--sand); border-left: 4px solid var(--brick);
  padding: 18px 22px; font-family: var(--font-utility); margin-top: 20px; border-radius: var(--radius);
}
.form-success.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--sand); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px;
  padding: 72px 0 40px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--tan); font-family: var(--font-utility); font-size: 0.78rem;
  letter-spacing: 0.1em; margin-bottom: 18px; text-transform: uppercase; font-weight: 700;
}
.footer-grid ul li { margin-bottom: 10px; font-family: var(--font-utility); font-size: 0.92rem; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 46px; }
.footer-brand .brand-text { font-family: var(--font-display); color: var(--white); font-size: 1.05rem; font-weight: 700; }
.footer-about { font-family: var(--font-body); font-size: 0.92rem; color: #C9BEAF; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-utility); font-size: 0.8rem; color: #9C9082;
}

/* ---------- Breadcrumb / page header (sub-pages) ---------- */
.page-header {
  background: var(--espresso); color: var(--white);
  padding: 64px 0 48px;
}
.page-header .eyebrow { color: var(--tan); }
.page-header h1 { color: var(--white); margin-top: 10px; font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- Utility ---------- */
.flex { display: flex; }
.gap-3 { gap: 12px; }
.mt-4 { margin-top: 32px; }
.text-center { text-align: center; }
.center-head { text-align: center; margin-left: auto; margin-right: auto; }
.icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Listings page ---------- */
.listings-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .listings-layout { grid-template-columns: 1fr; } }
.filters-panel {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 26px; position: sticky; top: 96px;
}
.filters-panel h3 { font-size: 1rem; margin-bottom: 20px; }
.filter-group { margin-bottom: 22px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group label.group-label {
  display: block; font-family: var(--font-utility); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #8A7E70; margin-bottom: 10px;
}
.filter-group select, .filter-group input { width: 100%; padding: 10px 12px; border: 1px solid var(--sand); border-radius: var(--radius); background: var(--cream); font-family: var(--font-utility); font-size: 0.88rem; }
.range-row { display: flex; gap: 10px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--font-utility); font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--sand); background: var(--cream); padding: 8px 14px;
  border-radius: 999px; color: var(--espresso);
}
.chip.is-active { background: var(--espresso); color: var(--white); border-color: var(--espresso); }

.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.results-count { font-family: var(--font-utility); font-size: 0.92rem; color: var(--espresso); }
.results-count strong { color: var(--brick); }
.sort-select { font-family: var(--font-utility); font-size: 0.86rem; padding: 9px 12px; border: 1px solid var(--sand); border-radius: var(--radius); background: var(--white); }
.empty-state { text-align: center; padding: 60px 20px; font-family: var(--font-utility); color: #8A7E70; }

/* ---------- Property detail page ---------- */
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-bottom: 40px; }
.detail-gallery .main-shot { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; }
.detail-gallery .main-shot img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery .side-shots { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.detail-gallery .side-shots div { border-radius: var(--radius); overflow: hidden; }
.detail-gallery .side-shots img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .detail-gallery { grid-template-columns: 1fr; } .detail-gallery .side-shots { display: none; } }

.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
@media (max-width: 940px) { .detail-layout { grid-template-columns: 1fr; } }
.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.detail-price { font-family: var(--font-utility); font-weight: 700; font-size: 1.8rem; color: var(--brick); }
.detail-price small { display: block; font-size: 0.76rem; font-weight: 500; color: #8A7E70; text-transform: uppercase; letter-spacing: 0.05em; }
.detail-specs { display: flex; gap: 28px; padding: 22px 0; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); margin: 22px 0 30px; flex-wrap: wrap; }
.detail-specs .spec { font-family: var(--font-utility); }
.detail-specs .spec .v { font-size: 1.3rem; font-weight: 700; color: var(--espresso); }
.detail-specs .spec .k { font-size: 0.74rem; color: #8A7E70; text-transform: uppercase; letter-spacing: 0.05em; }
.amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.amenity-grid div { font-family: var(--font-utility); font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.amenity-grid div::before { content: ""; width: 6px; height: 6px; background: var(--brick); border-radius: 50%; flex-shrink: 0; }
.video-embed { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin-top: 16px; background: var(--sand); }
.video-embed iframe { width: 100%; height: 100%; border: 0; }

.agent-card {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 28px; position: sticky; top: 96px;
}
.agent-card .agent-info { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.agent-card .agent-info .avatar {
  width: 54px; height: 54px; border-radius: 50%; background: var(--tan);
  display: flex; align-items: center; justify-content: center; color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
}
.agent-card .agent-info .name { font-family: var(--font-utility); font-weight: 700; }
.agent-card .agent-info .role { font-family: var(--font-utility); font-size: 0.8rem; color: #8A7E70; }

/* ---------- About page ---------- */
.about-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .about-hero-split { grid-template-columns: 1fr; } }
.about-hero-split img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { padding: 8px 0; }
.value-card .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--tan); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.team-card .name { font-family: var(--font-utility); font-weight: 700; }
.team-card .role { font-family: var(--font-utility); font-size: 0.8rem; color: var(--brick); }

/* ==========================================================================
   GALLERY SLIDER
   ========================================================================== */
.gallery-thumb { opacity: .6; transition: opacity .2s; border: 2px solid transparent !important; }
.gallery-thumb.is-active,
.gallery-thumb:hover { opacity: 1; border-color: var(--espresso) !important; }
#gallery-thumbs::-webkit-scrollbar { height: 4px; }
#gallery-thumbs::-webkit-scrollbar-thumb { background: var(--latte); border-radius: 4px; }

/* ==========================================================================
   LOADING STATE
   ========================================================================== */
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--charcoal);
  font-family: var(--font-utility);
}
.loading-spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--latte);
  border-top-color: var(--espresso);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   PROPERTY STATUS — unavailable overlay
   ========================================================================== */
.property-card.is-unavailable .media::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,.25);
  border-radius: inherit;
  pointer-events: none;
}
