/* ===== BREADCRUMB FICHA ===== */
.ficha-breadcrumb { background: #1a1a2e; padding: 14px 0; }
.ficha-breadcrumb .breadcrumb-item a { color: #C8A96E; font-size: 13px; text-decoration: none; }
.ficha-breadcrumb .breadcrumb-item a:hover { color: #e0c08a; }
.ficha-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,.65); font-size: 13px; transform: translateY(2px); }
.ficha-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }
.ficha-breadcrumb .breadcrumb { align-items: center; margin-bottom: 0; }
.ficha-ref-badge { transform: translateY(2px); }

.ficha-ref-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(200,169,110,.18);
  border: 1px solid rgba(200,169,110,.35);
  color: #C8A96E;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: .04em;
  vertical-align: middle;
  margin-left: 8px;
  white-space: nowrap;
}

/* ===== GALERÍA ===== */
.ficha-gallery { display: grid; gap: 6px; border-radius: 16px; overflow: hidden; }
.ficha-gallery--1 { grid-template-columns: 1fr; }
.ficha-gallery--2 { grid-template-columns: 2fr 1fr; }
.ficha-gallery--3,
.ficha-gallery--4plus { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-main { background-size: cover; background-position: center; }
.ficha-gallery--3 .gallery-main,
.ficha-gallery--4plus .gallery-main { grid-row: 1 / 3; }
.gallery-thumb { background-size: cover; background-position: center; cursor: pointer; position: relative; }
.gallery-thumb:hover::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.15); }
.gallery-main { min-height: 360px; }
.gallery-thumb { min-height: 174px; }
.gallery-more-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45); color: #fff; font-weight: 700; font-size: 18px;
  cursor: pointer; text-decoration: none;
}
@media (max-width: 767px) {
  .ficha-gallery--2,
  .ficha-gallery--3,
  .ficha-gallery--4plus { grid-template-columns: 1fr; grid-template-rows: auto; }
  .ficha-gallery--3 .gallery-main,
  .ficha-gallery--4plus .gallery-main { grid-row: auto; }
  .gallery-thumb { display: none; }
  .gallery-main { min-height: 260px; border-radius: 12px; }
}

/* ===== FICHA DETAIL ===== */
.ficha-price { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; color: #1a1a2e; }

.ficha-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ficha-stat-icon { font-size: 22px; color: #C8A96E; }
.ficha-stat-val { font-size: 16px; font-weight: 700; color: #1a1a2e; }
.ficha-stat-label { font-size: 11px; color: #9ca3af; text-transform: uppercase; letter-spacing: .04em; }

.ficha-section-title {
  font-size: 16px; font-weight: 700; color: #1a1a2e;
  padding-bottom: 10px; border-bottom: 2px solid #C8A96E;
  display: inline-block; margin-bottom: 18px;
}

.ficha-feature-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #374151; padding: 8px 0;
  border-bottom: 1px solid #f5f4f0;
}
.ficha-feature-item:last-child { border-bottom: none; }
.ficha-feature-item i { color: #C8A96E; font-size: 15px; width: 20px; text-align: center; }

/* ===== SIDEBAR ===== */
.ficha-sidebar { position: sticky; top: 80px; }
.ficha-contact-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 24px; box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.ficha-agency-logo { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.ficha-tel-btn {
  background: #1a1a2e; color: #fff; border-radius: 10px;
  padding: 12px; font-weight: 700; font-size: 15px;
  border: none; width: 100%; transition: background .18s;
  cursor: pointer;
}
.ficha-tel-btn:hover { background: #2d2d44; color: #fff; }

/* ===== MAPA ===== */
#fichaMap { height: 300px; border-radius: 12px; border: 1px solid #e5e7eb; }

/* ===== BADGES OPERACIÓN ===== */
.badge-op { font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 20px; }
.badge-op--venta { background: #C8A96E; color: #fff; }
.badge-op--alquiler { background: #5b8db8; color: #fff; }
