@charset "UTF-8";
/*
 * Specific fix for overflow issues in calculated width containers
 * Only targets the specific problematic selector without affecting other pages
 */
.wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] {
  overflow: hidden;
}
.wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] * {
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
  box-sizing: border-box;
}
.wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] h1, .wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] h2, .wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] h3, .wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] h4, .wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] h5, .wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] h6, .wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] p, .wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] b, .wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] strong {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  hyphens: auto;
}

.wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}
.wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 * {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}
.wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 p, .wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 h1, .wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 h2, .wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 h3, .wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 h4, .wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 h5, .wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 h6 {
  max-width: 100% !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}
.wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 .wp-block-group {
  max-width: 100%;
}
.wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 .wp-block-group .button {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .wp-block-group.gap-0.xl\:w-\[calc\(8\.75\/12\*100\%_-_1\.25rem\)\] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .wp-block-group.py-8.px-safe.text-body-lg.md\:p-10.xl\:w-6\/12.xl\:p-14 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
  }
}
/* ===========================
   BREADCRUMBS
   =========================== */
/**
 * Estilos para breadcrumbs de Yoast SEO
 */
#breadcrumbs,
.breadcrumbs--dark {
  font-size: 14px;
  line-height: 1.6;
  color: #2c2c2c;
  margin-bottom: 1rem;
  /* Responsivo: adapta al contenido pero con límites */
  width: fit-content;
  min-width: 280px;
  max-width: calc(100vw - 2rem);
  display: block;
  /* Enlaces */
  /* Separadores */
  /* Página actual (último elemento) */
  /* Responsive para móviles */
}
#breadcrumbs a,
.breadcrumbs--dark a {
  color: #0693e3;
  text-decoration: none;
  transition: color 0.2s ease;
}
#breadcrumbs a:hover,
.breadcrumbs--dark a:hover {
  color: #0693e3;
  font-weight: 600;
  text-decoration-line: underline;
}
#breadcrumbs span,
.breadcrumbs--dark span {
  color: #9ca3af;
}
#breadcrumbs span:last-child,
#breadcrumbs .breadcrumb_last,
.breadcrumbs--dark span:last-child,
.breadcrumbs--dark .breadcrumb_last {
  color: #0B1B44;
  font-weight: 600;
}
@media (max-width: 768px) {
  #breadcrumbs,
  .breadcrumbs--dark {
    font-size: 13px;
    padding: 0.75rem 1.5rem;
    min-width: 250px;
    margin-bottom: 1rem;
    width: calc(100% - 2rem);
    max-width: none;
  }
}
@media (max-width: 480px) {
  #breadcrumbs,
  .breadcrumbs--dark {
    font-size: 12px;
    min-width: 200px;
  }
}

.wp-singular .wp-block-cover .breadcrumbs--dark.breadcrumbs--centered {
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  #breadcrumbs,
  .breadcrumbs--dark {
    min-width: 400px;
  }
}
.breadcrumbs--right {
  text-align: right;
  width: 100% !important;
  margin: 0;
}

#breadcrumbs.breadcrumbs--dark,
.breadcrumbs--dark {
  color: #fff !important;
  background-color: transparent;
  border: none;
}
#breadcrumbs.breadcrumbs--dark a,
#breadcrumbs.breadcrumbs--dark span,
#breadcrumbs.breadcrumbs--dark .breadcrumb_last,
#breadcrumbs.breadcrumbs--dark .yoast-breadcrumb *,
#breadcrumbs.breadcrumbs--dark .yoast-breadcrumb a,
.breadcrumbs--dark a,
.breadcrumbs--dark span,
.breadcrumbs--dark .breadcrumb_last,
.breadcrumbs--dark .yoast-breadcrumb *,
.breadcrumbs--dark .yoast-breadcrumb a {
  color: #fff !important;
  fill: #fff !important;
  transition: color 0.2s;
  text-decoration: none;
}
#breadcrumbs.breadcrumbs--dark a:hover,
#breadcrumbs.breadcrumbs--dark .yoast-breadcrumb a:hover,
.breadcrumbs--dark a:hover,
.breadcrumbs--dark .yoast-breadcrumb a:hover {
  color: #FEC844 !important;
  fill: #FEC844 !important;
  text-decoration: underline !important;
}
#breadcrumbs.breadcrumbs--dark span,
.breadcrumbs--dark span {
  color: #b3c2e0 !important;
}
#breadcrumbs.breadcrumbs--dark .breadcrumb_last,
.breadcrumbs--dark .breadcrumb_last {
  color: #fff !important;
}

/* =============================================================================
   POPULAR LOCATIONS SECTION - 4 COLUMNS LAYOUT
   ============================================================================= */
/**
 * Sección independiente de ubicaciones populares con 4 columnas
 * Se coloca antes del footer como sección de ancho completo
 */
.popular-locations-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.popular-locations-section h2 {
  color: var(--color-blue-06);
}
.popular-locations-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-blue-04);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.popular-locations-section .location-column > div:first-child a {
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.2s ease;
}
.popular-locations-section .location-column > div:first-child a:hover {
  transform: translateX(2px);
}
.popular-locations-section .location-column > div:first-child a:hover svg {
  transform: translateX(2px);
}
.popular-locations-section .location-column > div:first-child a svg {
  transition: transform 0.2s ease;
}
.popular-locations-section .location-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.popular-locations-section .location-column ul li {
  margin-bottom: 0.5rem;
}
.popular-locations-section .location-column ul li a {
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.popular-locations-section .location-column ul li a:hover {
  background-color: rgba(130, 215, 255, 0.1);
  padding-left: 0.5rem;
}
.popular-locations-section .location-column ul li a:hover svg {
  transform: translateX(2px);
}
.popular-locations-section .location-column ul li a svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.popular-locations-section .location-column ul li a span {
  font-size: 0.875rem;
  line-height: 1.25;
}
@media (max-width: 1279px) {
  .popular-locations-section .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (max-width: 767px) {
  .popular-locations-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .popular-locations-section .grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .popular-locations-section h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
  }
  .popular-locations-section .location-column {
    text-align: center;
  }
  .popular-locations-section .location-column > div:first-child {
    margin-bottom: 1.5rem;
  }
  .popular-locations-section .location-column > div:first-child a {
    justify-content: center;
  }
  .popular-locations-section .location-column ul {
    text-align: left;
  }
  .popular-locations-section .location-column ul li a {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .popular-locations-section .location-column ul li a {
    font-size: 0.8rem;
  }
  .popular-locations-section .location-column ul li a svg {
    width: 0.875rem;
    height: 0.875rem;
  }
}

/* Animaciones de entrada */
.popular-locations-section .location-column {
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.6s ease-out forwards;
}
.popular-locations-section .location-column:nth-child(1) {
  animation-delay: 0.1s;
}
.popular-locations-section .location-column:nth-child(2) {
  animation-delay: 0.2s;
}
.popular-locations-section .location-column:nth-child(3) {
  animation-delay: 0.3s;
}
.popular-locations-section .location-column:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*-------------------------------------DEFAULT------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}
html body * {
  box-sizing: border-box;
}
html .layout3xl > div {
  max-width: var(--layout-3xl);
  margin: 0 auto;
}

/*--------------------------------------------------------------------------------*/
/*---------------------------------------TEXTS------------------------------------*/
/*--------------------------------------------------------------------------------*/
body {
  font-family: var(--text-family-body);
  font-size: var(--text-body-md-size);
  line-height: var(--text-body-line-height);
  letter-spacing: 0em;
  text-transform: initial;
  font-weight: 400;
  text-align: left;
  color: var(--color-blue-06);
  text-decoration: none;
}

main p:not([class*=mb-]) {
  margin-bottom: 1.5rem;
}

main * > p:last-child:not([class*=mb-]) {
  margin-bottom: 0;
}

main a:not([class]) {
  text-decoration: underline;
}

main ul:not([class]) {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  list-style: disc;
  list-style-position: inside;
}

/*--------------------------------------------------------------------------------*/
/*--------------------------------------COLORS------------------------------------*/
/*--------------------------------------------------------------------------------*/
/* TEXT COLORS */
.has-blue-00-color {
  color: var(--color-blue-00);
}

.has-blue-01-color {
  color: var(--color-blue-01);
}

.has-blue-02-color {
  color: var(--color-blue-02);
}

.has-blue-03-color {
  color: var(--color-blue-03);
}

.has-blue-04-color {
  color: var(--color-blue-04);
}

.has-blue-05-color {
  color: var(--color-blue-05);
}

.has-blue-06-color {
  color: var(--color-blue-06);
}

.has-blue-07-color {
  color: var(--color-blue-07);
}

.has-yellow-09-color {
  color: var(--color-yellow-09);
}

.has-yellow-10-color {
  color: var(--color-yellow-10);
}

/* BACKGROUND COLORS */
.has-blue-00-background-color {
  background-color: var(--color-blue-00);
}

.has-blue-01-background-color {
  background-color: var(--color-blue-01);
}

.has-blue-02-background-color {
  background-color: var(--color-blue-02);
}

.has-blue-03-background-color {
  background-color: var(--color-blue-03);
}

.has-blue-04-background-color {
  background-color: var(--color-blue-04);
}

.has-blue-05-background-color {
  background-color: var(--color-blue-05);
}

.has-blue-06-background-color {
  background-color: var(--color-blue-06);
}

.has-blue-07-background-color {
  background-color: var(--color-blue-07);
}

.has-yellow-09-background-color {
  background-color: var(--color-yellow-09);
}

.has-yellow-10-background-color {
  background-color: var(--color-yellow-10);
}

@media (min-width: 640px) {
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*------------------------------------SM:DEFAULT----------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
}
@media (min-width: 768px) {
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*------------------------------------MD:DEFAULT----------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
}
@media (min-width: 1024px) {
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*------------------------------------LG:DEFAULT----------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
}
@media (min-width: 1280px) {
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*------------------------------------XL:DEFAULT----------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
}
@media (min-width: 1536px) {
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*-----------------------------------XXL:DEFAULT----------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
  /*--------------------------------------------------------------------------------*/
}
h1 em, h2 em, h3 em, h4 em, h5 em {
  color: var(--color-blue-04) !important;
  font-style: normal !important;
}

/* Removed overflow: hidden to allow normal page scrolling */
.wppb-form-field .wppb-toggle-pw {
  top: 26px !important;
  right: 15px !important;
}

/*--------------------------------------------------------------------------------*/
/*------------------------------------LOADING STATES------------------------------*/
/*--------------------------------------------------------------------------------*/
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.is-loading {
  position: relative;
  pointer-events: none;
}
.is-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  pointer-events: none;
  z-index: 10;
}

.filtersProperties.is-loading,
.listPropertiesContainer.is-loading {
  transition: opacity 0.2s ease;
}

/* Property card loading pulse */
.listProperties [class*=loopItem] {
  transition: opacity 0.2s ease;
}

/*--------------------------------------------------------------------------------*/
/*---------------------------------TAX-AREA STYLES--------------------------------*/
/*--------------------------------------------------------------------------------*/
.body-xl.tax-area h1 {
  margin-bottom: 1rem; /* mb-4 */
  font-family: var(--text-family-head);
  font-size: var(--text-head-xs-size);
  line-height: var(--text-head-line-height);
  font-weight: 700;
}

/*--------------------------------------------------------------------------------*/
/*--------------------------PROPERTY CARD IMAGE OPTIMIZATION----------------------*/
/*--------------------------------------------------------------------------------*/
/* Background placeholder while image loads */
.sliderPropertyCardGallery .swiper-slide {
  background: linear-gradient(135deg, #f0f2f5 0%, #e4e8ed 100%);
}

/* Smooth fade-in when image loads */
.property-card-img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.property-card-img[src]:not([src=""]):not([src^="data:"]) {
  opacity: 1;
}

/* Deferred images start hidden until loaded */
.deferred-img[data-src] {
  opacity: 0;
}

.deferred-img.loaded {
  opacity: 1;
}

/*--------------------------------------------------------------------------------*/
/*--------------------------MOBILE STICKY SEARCH BUTTON---------------------------*/
/*--------------------------------------------------------------------------------*/
/* Fix drawer height for mobile browsers with dynamic viewport */
.drawerContainer:has(.filtersProperties) {
  height: 100vh; /* Fallback */
  height: 100dvh; /* Dynamic viewport height - accounts for mobile browser UI */
}

/* Drawer content needs to be scrollable for sticky to work */
.drawerContent:has(.filtersProperties) {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 0 !important; /* Override p-safe for filters drawer */
  height: 100%;
  max-height: 100dvh;
}

/* Filter content area - scrollable */
.drawerContent .filtersProperties {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 100px; /* Space for the sticky button + safe area */
}

/* Sticky Search Button in Mobile Filter Drawer - using fixed position for reliability */
.filters-sticky-search {
  position: fixed;
  /* Use both bottom values - dvb for modern browsers, fallback for older */
  bottom: env(safe-area-inset-bottom, 0px);
  left: 0;
  right: 0;
  padding: 0.75rem 1.5rem 1rem 1.5rem;
  z-index: 100001; /* Above drawer overlay */
  /* Clean solid background for the button area */
  background: white;
  /* Shadow for depth */
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

/* Gradient blur overlay above the button */
.filters-sticky-search::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
  /* Gradient from transparent to white with blur */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 30%, rgba(255, 255, 255, 0.85) 60%, rgb(255, 255, 255) 100%);
  /* Blur effect */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Smooth mask for the blur */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}

/* Keep close button as square, don't stretch it */
.drawerContent .closeFiltersDrawerButton {
  width: fit-content;
  align-self: flex-start;
}

/*--------------------------------------------------------------------------------*/
/*--------------------------MOBILE STICKY LOGOUT FOOTER---------------------------*/
/*--------------------------------------------------------------------------------*/
/* Sticky logout footer - only visible on mobile/tablet */
section:has(.footer-personal-logout) {
  /* Add padding-bottom to main content area to account for sticky footer */
}
@media (max-width: 1279px) {
  section:has(.footer-personal-logout) > div:not(.footer-personal-logout):not([class*="xl:hidden"]) {
    padding-bottom: calc(var(--gap-safe-responsive) + 80px); /* Footer height + safe area */
  }
}

/* Ensure footer is properly positioned and styled */
.footer-personal-logout {
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}
.footer-personal-logout a {
  transition: background-color 0.2s ease;
}
.footer-personal-logout a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
