/* ─── ✧ property highlight ✧ ─── */
.gi-property:not(.gi-property--archive-stats) {
  margin-bottom: 30px;
}

.gi-property__highlight {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: stretch;
  margin-top: 20px;
  border: 1px solid #EAF3FF;
  border-radius: 20px;
  overflow: hidden;
}

.gi-property__stats {
  display: flex;
  flex-direction: row;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  background-color: #FBFCFE;
  padding: 1rem 1.5rem;
  border-radius: 10px 0 0 10px;
}

.gi-property__stats-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gi-property__stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.gi-property__stat--area,
.gi-property__stat--dimensions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.gi-property__stat-label {
  font-size: 15px;
  font-weight: 600;
  color: #64748B;
  line-height: 1.2;
}

.gi-property__stat-separator {
  color: #CBD5E1;
  font-size: 16px;
  user-select: none;
}

.gi-property__price-box {
 display: flex;
 flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #386EEC !important;
  color: #FFFFFF;
  padding: 1rem 3rem;
  border-radius: 0 10px 10px 0;
  min-width: 140px;
}

.gi-property__icon {
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
}

.gi-property__stat-value {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.2;
}

/* Estilos específicos solo en el listado de propiedades */
.gi-property__highlight--archive .gi-property__stats {
  display: flex;
  flex-direction: row;
  padding: 0.6rem 0;
  justify-content: space-between;
  background-color: #FBFCFE;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  /*margin: 10px 0;*/
  border-radius: 0;
}

.gi-property__highlight--archive .gi-property__stats-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gi-property__highlight--archive .gi-property__stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.gi-property__highlight--archive .gi-property__stat--area,
.gi-property__highlight--archive .gi-property__stat--dimensions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.gi-property__highlight--archive .gi-property__stat-label {
  font-size: 14.5px;
  font-weight: 600;
  color: #64748B;
  line-height: 1.2;
}

.gi-property__highlight--archive .gi-property__stat-separator {
  color: #CBD5E1;
  font-size: 14px;
  user-select: none;
}

.gi-property__highlight--archive .gi-property__icon {
  font-size: 24px;
}

.gi-property__highlight--archive .gi-property__stat-value {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.gi-property__stat-value {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.gi-property__operation {
  font-size: 15px;
  font-weight: 400;
}

.gi-property__price {
  font-size: 16px;
  font-weight: 600;
}


/* ─── ✧ general info ✧ ─── */
.gi-property__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 25px 0;
}

.gi-property__info-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.gi-property__icon--info {
  font-size: 40px;
  flex-shrink: 0;
}

.gi-property__info-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gi-property__info-text strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #1e293b;
}

.gi-property__info-text p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
  color: #4b5563;
}

.gi-property__info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}

.gi-property__info-heading {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 8px;
  line-height: 1.4;
}

.gi-property__info-heading:first-child {
  margin-top: 2px;
}

.gi-property__info-list {
  list-style: none;
  margin: 2px 0 6px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gi-property__info-subitem {
  position: relative;
  padding-left: 14px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.4;
  color: #4b5563;
}

.gi-property__info-subitem::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: #64748b;
  font-weight: 600;
}

.gi-property__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 8px;
  width: fit-content;
  margin-bottom: 10px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.gi-property__whatsapp:hover {
  background-color: #1eb956;
  color: #ffffff;
}


/* ─── ✧ amenidades ✧ ─── */
.gi-property__section-title {
  font-size: 21px;
  font-weight: 700;
  margin: 20px 0;
}

.gi-property__amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.gi-property__amenity {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gi-property__amenity .gi-property__icon {
  font-size: 40px;
  flex-shrink: 0;
}

.gi-property__amenity-label {
  font-size: 17px;
  font-weight: 600;
}

.gi-property__amenity--none .gi-property__amenity-label {
  text-decoration: line-through;
  opacity: 0.7;
}

.gi-property__more {
  margin-top: 24px;
}

.gi-property__more-btn {
  background-color: #DCE2F9;
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gi-property__more-btn:hover {
  background-color: #D2D8F0;
}

.gi-property__code {
  opacity: 0.7;
}


/* ─── ✧ modal ✧ ─── */
.gi-property__modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  box-sizing: border-box;
}

.gi-property__modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.45);
  z-index: 0;
}

.gi-property__modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background-color: #ffffff;
  width: calc(100% - 30px);
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 13px;
  padding: 32px 28px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  clip-path: inset(0 round 13px);
}

.gi-property__modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 100;
  pointer-events: auto;
  background: none;
  border: none;
  font-size: 30px;
  color: #64748b;
  cursor: pointer;
  padding: 5px 10px;
  line-height: 1;
}

.gi-property__modal-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 15px 0;
}

.gi-property__modal-subtitle {
  font-size: 16px;
  font-weight: 700;
  margin: 15px 0 0 0;
  color: #1e293b;
}

.gi-property__modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gi-property__modal-row,
.gi-property__modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #e2ecf6;
}

.gi-property__modal-row-body,
.gi-property__modal-list li div {
  display: flex;
  flex-direction: column;
}

.gi-property__modal .gi-property__icon {
  font-size: 43px;
  flex-shrink: 0;
  color: #1e293b;
}

.gi-property__modal-row-body strong,
.gi-property__modal-list li strong {
  font-size: 15px;
  font-weight: 600;
}

.gi-property__modal-row-body p,
.gi-property__modal-list li span {
  font-size: 14px;
  line-height: 1.4;
  color: #64748b;
  margin: 0;
}

.gi-property__amenities-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 16px;
  padding: 0;
  list-style: none;

}

.gi-property__amenities-extra>* {
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.gi-property__amenities-extra>*:hover {
  background-color: #DCE2F9;
  color: #386EEC;
  border-color: #DCE2F9;
  transform: translateY(-1px);
}

.gi-property__modal-cta {
  margin-top: 24px;
  padding-top: 8px;
}

@media (max-width: 1024px) {
  .gi-property__highlight--archive .gi-property__stat {
    display: flex;
  }
}

/* ─── ✧ mobile ✧ ─── */
@media (max-width: 768px) {
  .gi-property__highlight {
    flex-direction: column;
  }

  .gi-property__stats {
    border-radius: 10px 10px 0 0;
  }

  .gi-property__price-box {
    border-radius: 0 0 10px 10px;
  }

  .gi-property__icon {
    font-size: 35px;
  }

  .gi-property__price {
    font-size: 20px;
  }

  .gi-property__stat-value {
    font-size: 13px;
  }

  .gi-property__whatsapp {
    width: 100%;
    box-sizing: border-box;
  }

  .gi-property__amenities {
    grid-template-columns: 1fr;
  }
}