/* ACC+IN access buttons & login modals */
.header_right_info.header-access-btns {
  column-gap: 12px;
}

.header-access-btns .tj-primary-btn {
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.header-access-btns .tj-primary-btn .btn_text span {
  white-space: nowrap;
  font-size: 13px;
}

@media only screen and (max-width: 1399px) {
  .header-access-btns .tj-primary-btn .btn_text span {
    font-size: 12px;
  }
}

.footer-access-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.footer-access-btns .tj-primary-btn {
  cursor: pointer;
  border: none;
}

.footer-access-btns .tj-primary-btn .btn_text span {
  white-space: nowrap;
  font-size: 13px;
}

/* Audience cards: title tag instead of social icons */
.h5-team-item-inner .team-socials.team-card-tag {
  gap: 0;
  padding: 8px 18px;
  white-space: nowrap;
  max-width: calc(100% - 24px);
}

.h5-team-item-inner .team-socials.team-card-tag span {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #676e7a;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.accin-access-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 18, 41, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.accin-access-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.accin-access-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(5, 18, 41, 0.28);
  padding: 36px 32px 28px;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.accin-access-overlay.is-open .accin-access-modal {
  transform: translateY(0);
}

.accin-access-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #e8f0f8;
  color: #051229;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.accin-access-close:hover {
  background: #3D74C6;
  color: #fff;
}

.accin-access-modal .accin-access-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #3D74C6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.accin-access-modal h3 {
  margin: 0 0 8px;
  color: #051229;
  font-size: 24px;
  line-height: 1.25;
}

.accin-access-modal .accin-access-desc {
  margin: 0 0 22px;
  color: #364052;
  font-size: 15px;
  line-height: 1.5;
}

.accin-access-field {
  margin-bottom: 14px;
}

.accin-access-field label {
  display: block;
  margin-bottom: 6px;
  color: #051229;
  font-size: 13px;
  font-weight: 600;
}

.accin-access-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ced7e0;
  border-radius: 8px;
  background: #fff;
  color: #051229;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accin-access-field textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border: 1px solid #ced7e0;
  border-radius: 8px;
  background: #fff;
  color: #051229;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.45;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accin-access-field input:focus,
.accin-access-field textarea:focus {
  border-color: #3D74C6;
  box-shadow: 0 0 0 3px rgba(61, 116, 198, 0.18);
}

.accin-access-modal.accin-contact-modal {
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.accin-contact-status {
  display: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}

.accin-contact-status.is-visible {
  display: block;
}

.accin-contact-status.is-success {
  background: #e8f6ee;
  color: #1b6b3a;
}

.accin-contact-status.is-error {
  background: #fdecee;
  color: #9b1c2e;
}

.accin-access-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.accin-access-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  background: #3D74C6;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.accin-access-submit:hover {
  background: #051229;
}

.accin-access-note {
  margin: 14px 0 0;
  color: #7e8590;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.accin-access-note a {
  color: #3D74C6;
  text-decoration: underline;
}

body.accin-modal-open {
  overflow: hidden;
}

.accin-inline-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: #3D74C6;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Bogotá properties demo slider (PropTech) */
.accin-props-block {
  position: relative;
  margin-bottom: 40px;
}

.accin-props-block .accin-props-note {
  margin: 8px 0 20px;
  color: #5c6570;
  font-size: 15px;
  line-height: 1.6;
}

.accin-props-slider {
  padding-bottom: 36px;
}

.accin-props-slider .project-item {
  margin: 0;
}

.accin-props-slider .project-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.accin-props-slider .tag-list a {
  pointer-events: none;
}

.accin-props-pagination {
  bottom: 0 !important;
}

.accin-props-pagination .swiper-pagination-bullet-active {
  background: #3D74C6;
}

.accin-props-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 8px;
}

.accin-props-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid #d5dee8;
  border-radius: 50%;
  background: #fff;
  color: #051229;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.accin-props-nav button:hover {
  background: #3D74C6;
  border-color: #3D74C6;
  color: #fff;
}

.project_catagory ul li span:last-child {
  text-align: right;
  max-width: 58%;
}

/* Property price highlight */
.accin-prop-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 18px 0 26px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(61, 116, 198, 0.1) 0%, rgba(5, 18, 41, 0.04) 100%);
  border-left: 4px solid #3d74c6;
}

.accin-prop-price__label {
  width: 100%;
  margin: 0;
  color: #5c6570;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.accin-prop-price__value {
  color: #051229;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.accin-prop-price__meta {
  color: #5c6570;
  font-size: 14px;
  line-height: 1.4;
}

.project_catagory ul li.accin-prop-price-row {
  background: rgba(61, 116, 198, 0.1);
  border-left: 3px solid #3d74c6;
  padding: 14px 12px 14px 14px;
  margin: 0 -4px 4px;
}

.project_catagory ul li.accin-prop-price-row .first-child {
  color: #051229;
  font-weight: 700;
}

.project_catagory ul li.accin-prop-price-row .accin-prop-price__value {
  color: #3d74c6;
  font-size: 18px;
  font-weight: 800;
  max-width: 62%;
  text-align: right;
}

.accin-inmuebles-list .tag-list,
.accin-props-slider .tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.accin-inmuebles-list .tag-list .accin-card-price,
.accin-props-slider .tag-list .accin-card-price {
  order: -1;
  flex: 1 0 100%;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 4px;
  padding: 4px 0;
  background: transparent !important;
  color: #fff !important;
  border: 0;
  box-shadow: none;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(5, 18, 41, 0.55);
}

.accin-inmuebles-list .project-item .project-content .tag-list .accin-card-price:hover,
.accin-props-slider .project-item .project-content .tag-list .accin-card-price:hover {
  background: transparent !important;
  color: #9ec0ef !important;
}

.accin-inmuebles-list .tag-list a:not(.accin-card-price),
.accin-props-slider .tag-list a:not(.accin-card-price) {
  order: 1;
}

.accin-card-specs {
  order: 0;
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 2px 0 6px;
  padding: 0;
  list-style: none;
}

.accin-card-specs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(5, 18, 41, 0.45);
}

.accin-card-specs li i {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
}

.accin-inmuebles-list .tag-list,
.accin-props-slider .tag-list {
  align-items: flex-start;
}

/* Sidebar: related properties with thumbs + specs */
.accin-related-props ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.accin-related-props li {
  margin: 0;
  border-bottom: 1px solid #e6edf5;
}

.accin-related-props li:last-child {
  border-bottom: 0;
}

.accin-related-props a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  color: #051229;
  text-decoration: none;
  transition: color 0.2s ease;
}

.accin-related-props a:hover,
.accin-related-props li.is-active a {
  color: #3d74c6;
}

.accin-related-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: #e8eef5;
}

.accin-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.accin-related-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accin-related-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.accin-related-price {
  display: block;
  color: #3d74c6;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.accin-related-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 2px;
}

.accin-related-specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5c6570;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.accin-related-specs i {
  font-size: 11px;
  color: #3d74c6;
}

.accin-related-props li.is-active .accin-related-thumb {
  outline: 2px solid #3d74c6;
  outline-offset: 1px;
}

/* ACC+IN logo on dark CTA sidebar */
.tj-sidebar-cta .icon img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
}

/* Preloader: dark background + primary logo */
.preloader {
  background-color: #051229;
}

.preloader .loading-container,
.preloader .loading {
  width: 200px;
  height: 200px;
}

.preloader #loading-icon {
  max-width: 150px;
  width: 150px;
}

.preloader #loading-icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* Property detail: gallery + lightbox + map + CTAs */
.accin-prop-gallery {
  margin-bottom: 28px;
}

.accin-prop-gallery__main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0a1224;
  cursor: zoom-in;
  overflow: hidden;
}

.accin-prop-gallery__main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.accin-prop-gallery__main:hover img {
  transform: scale(1.03);
}

.accin-prop-gallery__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(5, 18, 41, 0.88);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.accin-prop-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.accin-prop-gallery__thumbs button {
  padding: 0;
  border: 2px solid transparent;
  background: #e8eef5;
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.accin-prop-gallery__thumbs button.is-active,
.accin-prop-gallery__thumbs button:hover {
  border-color: #3d74c6;
}

.accin-prop-gallery__thumbs img {
  width: 100%;
  height: 78px;
  object-fit: cover;
  display: block;
}

.accin-prop-map {
  margin: 28px 0 8px;
}

.accin-prop-map h5 {
  margin-bottom: 14px;
  color: #051229;
  font-size: 20px;
}

.accin-prop-map__frame {
  position: relative;
  width: 100%;
  padding-bottom: 56%;
  overflow: hidden;
  background: #e8eef5;
  border: 1px solid #d5dee8;
}

.accin-prop-map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.accin-prop-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.accin-prop-cta-row a,
.accin-prop-cta-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  padding: 12px 18px;
  border: 1px solid #3d74c6;
  background: #3d74c6;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.accin-prop-cta-row a:hover,
.accin-prop-cta-row button:hover {
  background: #051229;
  border-color: #051229;
  color: #fff;
}

.accin-prop-cta-row a.is-outline,
.accin-prop-cta-row button.is-outline {
  background: #fff;
  color: #051229;
  border-color: #c9d4e2;
}

.accin-prop-cta-row a.is-outline:hover,
.accin-prop-cta-row button.is-outline:hover {
  background: #3d74c6;
  border-color: #3d74c6;
  color: #fff;
}

.accin-prop-interest {
  text-align: center;
}

.accin-prop-interest .tj-primary-btn {
  width: 100%;
  justify-content: center;
}

.accin-prop-interest .tj-primary-btn .btn_inner {
  justify-content: center;
  width: 100%;
}

.accin-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.accin-lightbox.is-open {
  display: flex;
}

.accin-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 41, 0.92);
}

.accin-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accin-lightbox__stage {
  position: relative;
  background: #000;
  min-height: 280px;
  max-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.accin-lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.accin-lightbox__close,
.accin-lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.accin-lightbox__close:hover,
.accin-lightbox__nav:hover {
  background: #3d74c6;
}

.accin-lightbox__close {
  top: -6px;
  right: 0;
  width: 42px;
  height: 42px;
  font-size: 28px;
  line-height: 1;
  z-index: 2;
}

.accin-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 20px;
  z-index: 2;
}

.accin-lightbox__nav.prev {
  left: 10px;
}

.accin-lightbox__nav.next {
  right: 10px;
}

.accin-lightbox__thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.accin-lightbox__thumbs button {
  width: 72px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  background: #1a2438;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.7;
}

.accin-lightbox__thumbs button.is-active,
.accin-lightbox__thumbs button:hover {
  border-color: #3d74c6;
  opacity: 1;
}

.accin-lightbox__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.accin-lightbox__counter {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}

body.accin-lightbox-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .accin-prop-gallery__main img {
    height: 260px;
  }

  .accin-prop-gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .accin-prop-gallery__thumbs img {
    height: 56px;
  }

  .accin-prop-cta-row a,
  .accin-prop-cta-row button {
    flex: 1 1 calc(50% - 6px);
  }

  .accin-lightbox {
    padding: 12px;
  }

  .accin-lightbox__nav {
    width: 36px;
    height: 36px;
  }
}

/* Inmuebles listing page */
.accin-inmuebles-intro {
  margin-bottom: 28px;
}

.accin-inmuebles-intro p {
  margin: 0;
  color: #5c6570;
  font-size: 16px;
  line-height: 1.7;
}

.accin-inmuebles-list .project-item {
  margin-bottom: 0;
  height: 100%;
}

.accin-inmuebles-list .project-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.accin-inmuebles-list .tag-list a {
  pointer-events: none;
}

.tj-sidebar-cta .content h3 {
  font-size: 26px;
  line-height: 1.25;
}
