/* ============================================================
   Yadir Betancur Inmobiliaria — Stylesheet
   Palette: blanco / negro / dorado
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --white: #ffffff;
  --cream: #faf8f3;
  --black: #0f2743;
  --charcoal: #2a2624;
  --gold: #c9a227;
  --gold-bright: #e8c85c;
  --gold-deep: #e8c85c;
  --line: #e7e2d6;
  --text-soft: #6b6560;
  --green-wa: #25d366;
  --green-wa-dark: #128c7e;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Manrope', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-card: 0 10px 30px -12px rgba(20, 15, 5, .18);
  --shadow-hover: 0 18px 40px -14px rgba(20, 15, 5, .28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.icon-img-sm {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Utility ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--gold-deep);
}

.section {
  padding: 88px 0;
}

.section--cream {
  background: var(--cream);
}

.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin: .4rem 0 0;
  color: var(--black);
}

.gold-rule {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin-top: 14px;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .03em;
  border: 1px solid transparent;
  transition: all .25s ease;
}

.btn--gold {
  background: var(--black);
  color: var(--gold-bright);
  border-color: var(--black);
}

.btn--gold:hover {
  background: var(--gold-deep);
  color: var(--black);
  border-color: var(--gold-deep);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--gold-bright);
}

.btn--ghost-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-deep);
}

.btn--ghost-gold:hover {
  background: var(--gold);
  color: var(--black);
}

.btn--whatsapp {
  background: var(--green-wa);
  color: #fff;
  border-color: var(--green-wa);
}

.btn--whatsapp:hover {
  background: var(--green-wa-dark);
  color: #fff;
  border-color: var(--green-wa-dark);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 9px 16px;
  font-size: .78rem;
}

/* ================= HEADER ================= */
.topbar {
  background: var(--black);
  color: #cfc7b5;
  font-size: .78rem;
  padding: 7px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar a {
  color: #cfc7b5;
}

.topbar .topbar-links {
  display: flex;
  gap: 18px;
}

.topbar .topbar-links span {
  color: var(--gold-bright);
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(from 220deg, var(--gold), var(--gold-bright), var(--gold-deep), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--black);
  font-size: 1.1rem;
}

.logo-mark-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.logo-text {
  line-height: 1.05;
}

.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--black);
}

.logo-text span {
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--gold-deep);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav ul {
  display: flex;
  gap: 26px;
}

.main-nav a {
  font-size: .86rem;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width .25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--gold-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn-wrap {
  position: relative;
  display: inline-block;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: .2s;
  background: none;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.fav-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--black);
  font-size: .65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
}

/* ================= HERO ================= */
.hero {
  background: url('../img/iconos/banner3.png') center/cover no-repeat;
  padding: 75px 0 65px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/iconos/banner4.png') center/cover no-repeat;
  z-index: 0;
  opacity: 0;
  animation: heroCrossfade 8s infinite alternate ease-in-out;
}

@keyframes heroCrossfade {
  0%, 35% {
    opacity: 0;
  }
  65%, 100% {
    opacity: 1;
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: 14px;
  display: inline-block;
  color: #e8c85c;
  background: rgba(15, 39, 67, 0.75);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  font-weight: 700;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  color: #ffffff;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-copy h1 em {
  font-style: italic;
  color: #e8c85c;
  position: relative;
}

.hero-copy p {
  margin: 22px 0 30px;
  color: #ffffff;
  font-size: 1.05rem;
  max-width: 480px;
  line-height: 1.6;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  color: #ffffff;
}

.hero-actions .btn--gold {
  background: #ffffff;
  color: var(--black);
  border-color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.hero-actions .btn--gold:hover {
  background: #e8c85c;
  border-color: #e8c85c;
  color: var(--black);
}

.hero-actions .btn--outline {
  background: rgba(15, 39, 67, 0.85);
  color: #ffffff;
  border: 1px solid #ffffff;
  backdrop-filter: blur(4px);
  font-weight: 700;
}

.hero-actions .btn--outline:hover {
  background: #ffffff;
  color: var(--black);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.city-pill {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: .2s;
  cursor: pointer;
}

.city-pill:hover {
  border-color: var(--gold);
  background: var(--cream);
}

.city-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--black);
}

.city-pill span {
  font-size: .72rem;
  color: var(--text-soft);
}

.city-pill .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-frame-tag {
  position: absolute;
  top: -16px;
  right: 26px;
  background: var(--black);
  color: var(--gold-bright);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 8px 14px;
  border-radius: 2px;
}

/* ================= SEARCH BAR ================= */
.search-panel {
  max-width: 980px;
  margin: -46px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 5;
  padding: 22px;
}

.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.search-tabs button {
  flex: 0 0 auto;
  padding: 9px 20px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
  font-size: .82rem;
  color: var(--text-soft);
}

.search-tabs button.is-active {
  background: var(--black);
  color: var(--gold-bright);
  border-color: var(--black);
}

.search-fields {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.search-fields select,
.search-fields input {
  width: 100%;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .84rem;
  background: var(--white);
  color: var(--charcoal);
}

.search-fields select {
  background: var(--white) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6"><path d="M0 0l5 6 5-6z" fill="%23c9a227"/></svg>') no-repeat right 12px center;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
}

.search-fields select:focus,
.search-fields input:focus {
  border-color: var(--gold);
  outline: none;
}

@media (max-width:900px) {
  .search-fields {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================= ACTION CARDS ================= */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.action-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 38px;
  text-align: center;
  background: var(--white);
  transition: .25s;
}

.action-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.action-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--gold-bright);
}

.action-icon svg {
  width: 28px;
  height: 28px;
}

.action-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 10px;
  color: var(--black);
}

.action-card p {
  color: var(--text-soft);
  font-size: .92rem;
  margin: 0 0 20px;
}

/* ================= CITY TABS / LISTINGS PREVIEW ================= */
.tab-row {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-row button {
  padding: 10px 22px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
  font-size: .82rem;
}

.tab-row button.is-active {
  background: var(--black);
  color: var(--gold-bright);
  border-color: var(--black);
}

.city-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.city-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow-card);
  display: block;
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.city-card:hover img {
  transform: scale(1.06);
}

.city-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 8, 5, .86) 100%);
}

.city-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  color: var(--white);
  z-index: 2;
}

.city-card-content .tag {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.city-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 4px 0 12px;
}

@media (max-width:1000px) {
  .city-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================= PROPERTY CARDS (listing style) ================= */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.property-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.property-card:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-6px);
}

.property-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #f4f0ea;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-media img {
  transform: scale(1.05);
}

.property-ribbon {
  position: absolute;
  top: 22px;
  left: -38px;
  background: linear-gradient(135deg, #ebd092 0%, #cca152 100%);
  color: #0f2743;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 42px;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}

.property-ribbon svg {
  width: 12px;
  height: 12px;
  stroke: #0f2743;
}

.property-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f2743;
  color: #e5c178;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.property-fav svg {
  width: 20px;
  height: 20px;
  stroke: #e5c178;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.property-fav:hover {
  background: #e5c178;
  color: #0f2743;
  transform: scale(1.08);
}

.property-fav:hover svg {
  stroke: #0f2743;
}

.property-fav.is-fav {
  background: #e5c178;
  color: #0f2743;
}

.property-fav.is-fav svg {
  fill: #0f2743;
  stroke: #0f2743;
}

.property-body {
  padding: 20px 22px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.property-toprow .p-type {
  font-size: 0.76rem;
  font-weight: 700;
  color: #718096;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.property-code {
  background: #0f2743;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(15, 39, 67, 0.2);
  white-space: nowrap;
}

.property-code svg {
  width: 12px;
  height: 12px;
  fill: #e5c178;
}

.property-title-link {
  text-decoration: none;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f2743;
  margin-bottom: 14px;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.property-title-link:hover .property-location {
  color: #cca152;
}

.property-location .pin-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfa255;
  flex-shrink: 0;
}

.property-location .pin-icon svg {
  width: 22px;
  height: 22px;
  stroke: #cfa255;
}

.property-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  margin-top: auto;
}

.property-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: #bd9136;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-body);
}

.property-price .currency {
  font-size: 0.75rem;
  color: #718096;
  font-weight: 600;
  letter-spacing: 0;
}

.btn-card-detail {
  background: linear-gradient(135deg, #e5c178 0%, #cf9d45 100%);
  color: #0f2743;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(207, 157, 69, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-card-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(207, 157, 69, 0.5);
  color: #0f2743;
}

.btn-card-detail svg {
  width: 14px;
  height: 14px;
  stroke: #0f2743;
  transition: transform 0.2s ease;
}

.btn-card-detail:hover svg {
  transform: translateX(3px);
}

/* Bottom Dark Stats Box */
.property-stats-box {
  background: #0f2743;
  border-radius: 14px;
  padding: 14px 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 15px rgba(15, 39, 67, 0.15);
}

.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-col:last-child {
  border-right: none;
}

.stat-icon {
  color: #e5c178;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  stroke: #e5c178;
}

.stat-val {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2px;
  font-family: var(--font-body);
}

.stat-lbl {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
  font-weight: 500;
}

/* Decorative Footer Pattern */
.property-card-decor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
}

.dot-matrix {
  display: grid;
  grid-template-columns: repeat(5, 4px);
  gap: 5px;
}

.dot-matrix span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e0d7c7;
}

.decor-line {
  flex: 1;
  height: 1px;
  background: #e6decb;
}

@media (max-width: 1000px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .property-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= PROPERTY DETAIL PAGES ================= */
.property-detail-header {
  background: #ffffff;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
}

.property-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.property-detail-title h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 6px 0;
  color: var(--black);
}

.property-detail-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .9rem;
  color: var(--text-soft);
}

.property-badge-code {
  background: var(--black);
  color: var(--gold-bright);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.property-detail-price-box {
  text-align: right;
}

.property-detail-price-box .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-deep);
  font-family: var(--font-body);
}

.property-detail-price-box .admin-fee {
  font-size: .84rem;
  color: var(--text-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin: 30px 0;
}

.gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-card);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

.gallery-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-layout {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 36px;
  align-items: start;
}

.spec-box-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  margin-bottom: 30px;
}

.spec-item {
  text-align: center;
}

.spec-item span {
  display: block;
  font-size: .75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  font-weight: 700;
}

.spec-item strong {
  font-size: 1.15rem;
  color: var(--black);
  font-family: var(--font-display);
}

.amenities-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 34px;
}

.amenity-tag {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.map-container-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  padding: 20px;
  margin-top: 30px;
  box-shadow: var(--shadow-card);
}

.map-container-box h3 {
  font-family: var(--font-display);
  margin-top: 0;
}

#property-map {
  height: 350px;
  width: 100%;
  border-radius: var(--radius-sm);
  z-index: 1;
}

.agent-sticky-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 100px;
}

.agent-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.agent-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-text h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--black);
}

.agent-text span {
  font-size: .78rem;
  color: var(--text-soft);
}

/* ================= ALLIES / STRIP ================= */
.allies-strip {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.allies-strip img {
  height: 34px;
  filter: grayscale(1) opacity(.75);
}

/* ================= ARTICLES ================= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: .2s;
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
}

.article-media {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  padding: 20px;
}

.article-body h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0 0 10px;
  color: var(--black);
}

.article-body p {
  font-size: .86rem;
  color: var(--text-soft);
  margin: 0 0 14px;
  line-height: 1.55;
}

.article-link {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--gold-deep);
}

@media (max-width:900px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= FAQ ================= */
.faq-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--black);
  font-size: .98rem;
}

.faq-question .plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: .25s;
  font-size: 1rem;
}

.faq-item.open .plus {
  background: var(--black);
  border-color: var(--black);
  color: var(--gold-bright);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.faq-answer p {
  padding: 0 0 20px;
  margin: 0;
}

.faq-cta {
  text-align: center;
  margin-top: 34px;
}

/* ================= NEWSLETTER ================= */
.newsletter {
  background: var(--black);
  color: var(--white);
}

.newsletter .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 52px 24px;
}

.newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 6px;
}

.newsletter p {
  color: #c8c1b2;
  margin: 0;
  font-size: .9rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 12px 16px;
  border-radius: 2px;
  border: 1px solid #46403a;
  background: #1d1a17;
  color: #fff;
  min-width: 190px;
}

.newsletter-form input::placeholder {
  color: #8a8377;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 40px;
}

.footer-brand p {
  color: var(--text-soft);
  font-size: .86rem;
  margin: 14px 0 18px;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 16px;
}

.footer-col address,
.footer-col li {
  font-style: normal;
  font-size: .86rem;
  color: var(--text-soft);
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-col a:hover {
  color: var(--gold-deep);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--text-soft);
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width:900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================= PAGE HEADER (listing pages) ================= */
.page-hero {
  background: url('../img/iconos/banner3.png') center/cover no-repeat;
  color: var(--white);
  padding: 56px 0 46px;
  position: relative;
  overflow: hidden;
}

.page-hero .eyebrow {
  color: #e8c85c;
  background: rgba(21, 19, 19, 0.55);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  display: inline-block;
  font-weight: 700;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: .5rem 0 0;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.breadcrumb {
  font-size: .84rem;
  color: #555555;
  text-shadow: none;
  margin-bottom: 10px;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--black);
  font-weight: 600;
}

.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: none;
}

.page-hero .breadcrumb a {
  color: #e8c85c;
  font-weight: 600;
}

.page-hero .breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-hero .breadcrumb span {
  color: #ffffff;
  font-weight: 600;
}

.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 32px 0 26px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-bar h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
  color: var(--black);
}

.sort-select {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .84rem;
}

.listing-layout {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 34px;
  align-items: start;
}

.listing-layout .property-grid {
  grid-template-columns: repeat(2, 1fr);
}

.filters-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 100px;
  background: var(--white);
}

.filters-card h4 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  color: var(--black);
}

.filter-group {
  margin-bottom: 18px;
}

.filter-group label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .84rem;
}

.range-row {
  display: flex;
  gap: 8px;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
}

.pagination a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
}

.pagination a.is-active {
  background: var(--black);
  color: var(--gold-bright);
  border-color: var(--black);
}

.pagination a:hover:not(.is-active) {
  border-color: var(--gold);
}

/* ================= FAVORITES DRAWER ================= */
.fav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.fav-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.fav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  z-index: 95;
  box-shadow: -5px 0 25px rgba(0, 0, 0, .2);
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
}

.fav-drawer.is-open {
  transform: translateX(0);
}

.fav-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fav-drawer-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.close-drawer {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-soft);
}

.fav-drawer-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.fav-item-card {
  display: flex;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 14px;
  position: relative;
  background: var(--white);
}

.fav-item-card img {
  width: 80px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.fav-item-info h5 {
  margin: 0 0 4px;
  font-size: .9rem;
  font-family: var(--font-display);
}

.fav-item-info p {
  margin: 0;
  font-size: .8rem;
  color: var(--gold-deep);
  font-weight: 800;
}

.fav-item-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: #d9534f;
  font-weight: bold;
  cursor: pointer;
}

/* ================= LEAD COLLECTION MODAL ================= */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.lead-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal {
  background: var(--white);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 560px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.lead-modal h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 6px;
  color: var(--black);
}

.lead-modal p {
  color: var(--text-soft);
  font-size: .9rem;
  margin: 0 0 20px;
}

.lead-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-form-grid .full-width {
  grid-column: 1 / -1;
}

.lead-form-grid label {
  font-size: .78rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.lead-form-grid input,
.lead-form-grid select,
.lead-form-grid textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .86rem;
}

.lead-form-grid textarea {
  resize: vertical;
  min-height: 70px;
}

/* ================= WHATSAPP FLOATING BUTTON ================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  z-index: 80;
  transition: transform .25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: var(--green-wa-dark);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width:960px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .newsletter .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .listing-layout {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .spec-box-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenities-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters-card,
  .agent-sticky-card {
    position: static;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .property-detail-price-box {
    text-align: left;
    margin-top: 10px;
  }
}

/* ================= GALLERY & LIGHTBOX MODAL ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.35s ease;
}

.gallery-main:hover img {
  transform: scale(1.025);
}

.gallery-thumbs {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 203px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.35s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.03);
}

/* 3rd Photo Overlay (+ Ver todas las fotos) */
.gallery-thumb-more .gallery-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 67, 0.68);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.3s ease;
  border-radius: 14px;
}

.gallery-thumb-more:hover .gallery-more-overlay {
  background: rgba(15, 39, 67, 0.82);
}

.gallery-more-overlay .plus-icon {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gallery-more-overlay .more-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e5c178;
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 37, 0.95);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-topbar h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #e5c178;
}

.lightbox-counter {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.lightbox-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #e5c178;
}

.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 20px 0;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 39, 67, 0.7);
  border: 1px solid rgba(229, 193, 120, 0.4);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.lightbox-btn:hover {
  background: #e5c178;
  color: #0f2743;
  border-color: #e5c178;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-thumbs-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  padding: 10px;
}

.lightbox-thumb-item {
  width: 68px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.lightbox-thumb-item.active,
.lightbox-thumb-item:hover {
  opacity: 1;
  border-color: #e5c178;
}

.lightbox-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ================= PROPERTY DETAIL PAGE CLEAN LAYOUT ================= */
.property-detail-header {
  background: #ffffff;
  padding: 30px 0 60px;
}

.property-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin: 16px 0 24px;
}

.property-detail-title {
  max-width: 760px;
}

.property-detail-title h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--black);
  margin: 8px 0 10px;
  line-height: 1.25;
}

.property-badge-code {
  display: inline-block;
  background: var(--black);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.property-detail-meta {
  font-size: 0.9rem;
  color: var(--text-soft);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.property-detail-price-box {
  text-align: right;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  flex-shrink: 0;
}

.property-detail-price-box .price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.property-detail-price-box .admin-fee {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 4px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-main img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-main:hover img {
  transform: scale(1.02);
}

.gallery-thumbs {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.03);
}

.gallery-thumb-more .gallery-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 67, 0.72);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.gallery-thumb-more:hover .gallery-more-overlay {
  background: rgba(15, 39, 67, 0.84);
}

.gallery-more-overlay .plus-icon {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 2px;
}

.gallery-more-overlay .more-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e5c178;
}

.detail-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 34px;
  margin-top: 20px;
  align-items: start;
}

.spec-box-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spec-item span {
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.spec-item strong {
  font-size: 1.1rem;
  color: var(--black);
  margin-top: 2px;
}


/* ================= RICH PROPERTY DETAILS & ZONE INFO ================= */
.detail-section-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.detail-section-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--black);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.tech-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tech-spec-item {
  background: var(--cream);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.tech-spec-item label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.tech-spec-item val {
  display: block;
  font-size: 0.98rem;
  color: var(--black);
  font-weight: 800;
  margin-top: 2px;
}

.pill-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-tag {
  background: #f4efe4;
  border: 1px solid #e2d7c3;
  color: #0f2743;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill-tag.check {
  background: #eef7ee;
  border-color: #c5e5c5;
  color: #1e6b1e;
}

.zone-tabs-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.zone-cat-box {
  background: #fbf9f4;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}

.zone-cat-box h4 {
  font-size: 0.92rem;
  margin: 0 0 10px;
  color: var(--navy);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.zone-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  padding: 6px 0;
  border-bottom: 1px dashed #e2d7c3;
}

.zone-list-item:last-child {
  border-bottom: none;
}

.zone-list-item strong {
  color: var(--black);
}

.zone-list-item span {
  color: var(--text-soft);
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .tech-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .zone-tabs-container {
    grid-template-columns: 1fr;
  }
}


/* ================= ICON SIZES FOR PROPERTY DETAILS ================= */
.icon-img-section {
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 10px;
}

.icon-img-sub {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}

.icon-img-pill {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
}
