.property-cta-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.property-cta-card__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  color: #1f2937;
  letter-spacing: -0.02em;
}

.property-cta-card__agents {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.property-cta-card__agent-avatar {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  object-fit: cover;
  border: 6px solid #f3f4f6;
  margin-left: -10px;
}

.property-cta-card__agent-avatar:first-child {
  margin-left: 0;
}

.property-cta-card__intro {
  text-align: center;
  margin-top: 20px;
}

.property-cta-card__headline {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  color: #374151;
}

.property-cta-card__subtext {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.property-cta-card__code {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: #6b7280;
}

.property-cta-card__line {
  flex: 1;
  height: 1px;
  background: #d1d5db;
}

.property-cta-card__code-text {
  white-space: nowrap;
  font-size: 0.95rem;
}

.property-cta-card__actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.property-cta-card__btn {
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

.property-cta-card__btn--primary {
  background: #d61f26;
  color: #fff;
}

.property-cta-card__btn--primary:hover {
  filter: brightness(0.96);
}

.property-cta-card__btn--secondary {
  background: #fff;
  color: #1f2937;
  border-color: #d1d5db;
}

.property-cta-card__btn--secondary:hover {
  background: #f9fafb;
}

.property-cta-card__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: #6b7280;
  justify-content: center;
}

.property-cta-card__divider::before,
.property-cta-card__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.property-cta-card__socials {
  display: grid;
  gap: 12px;
}

.property-cta-card__social-btn {
  min-height: 52px;
  border: 1px solid #d1d5db;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: #1f2937;
  font-weight: 700;
  background: #fff;
}

.property-cta-card__social-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}


/* =========================
   PROPERTY CONTACT MODAL
   ========================= */
.property-contact-modal[hidden] {
  display: none !important;
}

.property-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.property-contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.64);
}

.property-contact-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(960px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
}

.property-contact-modal__close {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #737373;
  cursor: pointer;
  z-index: 5;
  font-size: 2.25rem;
  line-height: 1;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.property-contact-modal__close:hover {
  color: #111827;
}

.property-contact-modal__grid {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(420px, 1fr);
  min-height: 0;
}

.property-contact-modal__aside {
  background: #fff;
}

.property-contact-modal__media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.property-contact-modal__summary {
  padding: 22px 24px 26px;
}

.property-contact-modal__property-title {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.02em;
}

.property-contact-modal__property-meta {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-contact-modal__facts {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.property-contact-modal__facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.95rem;
  color: #4b5563;
}

.property-contact-modal__facts p {
  margin: 0;
}

.property-contact-modal__facts strong {
  color: #111827;
  font-weight: 800;
}

.property-contact-modal__facts .is-highlight {
  color: #d61f26;
}

.property-contact-modal__main {
  background: #fff;
  border-left: 1px solid #e5e7eb;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.property-contact-modal__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.property-contact-modal__back {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.property-contact-modal__back:hover {
  color: #111827;
}

.property-contact-modal__title {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 700;
  color: #111827;
  text-align: center;
  letter-spacing: -0.02em;
}

.property-contact-modal__form {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.property-contact-modal__row {
  display: grid;
  gap: 16px;
}

.property-contact-modal__row--2 {
  grid-template-columns: 1fr 1fr;
}

.property-contact-modal__field {
  position: relative;
}

.property-contact-modal__field input,
.property-contact-modal__field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0;
  padding: 22px 14px 10px;
  font-size: 0.95rem;
  outline: none;
  background: #fff;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.property-contact-modal__field textarea {
  min-height: 110px;
  resize: vertical;
}

.property-contact-modal__field input:focus,
.property-contact-modal__field textarea:focus {
  border-color: #d61f26;
  box-shadow: 0 0 0 3px rgba(214, 31, 38, 0.08);
}

.property-contact-modal__field--floating label {
  position: absolute;
  left: 16px;
  top: 18px;
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
  transition: all 0.18s ease;
  background: #fff;
  padding: 0 4px;
}

.property-contact-modal__field--floating input:focus + label,
.property-contact-modal__field--floating input:not(:placeholder-shown) + label,
.property-contact-modal__field--floating textarea:focus + label,
.property-contact-modal__field--floating textarea:not(:placeholder-shown) + label {
  top: 8px;
  font-size: 0.78rem;
  color: #6b7280;
}

.property-contact-modal__error {
  display: block;
  min-height: 20px;
  padding-top: 6px;
  font-size: 0.875rem;
  color: #dc2626;
}

.property-contact-modal__submit-wrap {
  padding-top: 10px;
}

.property-contact-modal__submit-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 0;
  border: 0;
  background: #d61f26;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.property-contact-modal__submit-btn:hover {
  filter: brightness(0.96);
}

.property-contact-modal__submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.property-contact-modal__success {
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
  padding: 14px 16px;
  font-weight: 700;
}

html.is-contact-modal-open,
body.is-contact-modal-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .property-contact-modal {
    padding: 10px;
    align-items: center;
    justify-content: center;
  }

  .property-contact-modal__dialog {
    width: min(100vw - 20px, 760px);
    max-height: calc(100vh - 20px);
    margin: 0;
  }

  .property-contact-modal__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .property-contact-modal__main {
    border-left: 0;
    border-top: 1px solid #e5e7eb;
  }

  .property-contact-modal__media img {
    height: 240px;
  }

  .property-contact-modal__summary,
  .property-contact-modal__form {
    padding: 18px;
  }

  .property-contact-modal__row--2,
  .property-contact-modal__facts {
    grid-template-columns: 1fr;
  }

  .property-contact-modal__property-title,
  .property-contact-modal__title {
    font-size: 1.35rem;
  }

  .property-contact-modal__back {
    left: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.75rem;
  }
}
