/* ============================================================
   Haus — modern design layer (2026)
   A clean, contemporary premium-real-estate refresh over the
   existing markup. Loaded LAST so it wins. Keeps the layout simple.
   Accent: warm gold #b8873a on dark slate.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f5f1;              /* warm off-white for lighter sections */
  --text: #1e2732;                 /* dark slate for headings */
  --body: #5b6570;                 /* body copy */
  --muted: #98a1ac;
  --line: #e8eaed;
  --line-strong: #d9dce1;
  --accent: #b8873a;               /* warm gold */
  --accent-dark: #9a6f28;
  --accent-soft: rgba(184,135,58,.14);
  --slate: #1b232e;                /* dark slate panels/footer */
  --slate-2: #141a23;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
  --shadow-hover: 0 18px 44px rgba(16,24,40,.14);
}

/* ---------- base ---------- */
body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5,
.probootstrap-card .probootstrap-card-text .probootstrap-card-heading,
.service .heading {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.25;
}
a { color: var(--accent); transition: color .18s ease; }
a:hover, a:focus, a:active { color: var(--accent-dark); text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
::-moz-selection { background: var(--accent); color: #fff; }

/* ---------- header ---------- */
.probootstrap-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;

  padding-top: 12px;
  padding-bottom: 12px;

  box-shadow:
    0 1px 0 rgba(16,24,40,.06),
    0 10px 30px -18px rgba(16,24,40,.35);
}
.probootstrap-logo { color: var(--text); font-weight: 800; letter-spacing: .04em; }
.probootstrap-logo:hover, .probootstrap-logo:focus { color: var(--text); }
.probootstrap-logo span { color: var(--accent); }

/* ---------- nav: animated gold underline on hover ---------- */
.probootstrap-main-nav li a {
  position: relative;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  border-bottom: 0 !important;
}
.probootstrap-main-nav li a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: center;
  transition: transform .2s ease;
}
.probootstrap-main-nav li:hover > a::after,
.probootstrap-main-nav li.active > a::after { transform: scaleX(1); }
.probootstrap-main-nav li a:hover,
.probootstrap-main-nav li.active a { color: var(--accent); }

/* ---------- buttons ---------- */
.btn.btn-primary {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 12px 34px;
}
.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}
.btn.btn-ghost { border-color: var(--accent); color: var(--accent); border-radius: 999px; }
.btn.btn-ghost:hover { background: var(--accent); color: #fff; }

/* ---------- section rhythm + headings ---------- */
.probootstrap-section.probootstrap-section-lighter { background: var(--bg-soft); }
.probootstrap-section .row.heading h2 {
  position: relative;
  padding-bottom: 20px;
  font-weight: 700;
  color: var(--text);
}
.probootstrap-section .row.heading h2::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin: 16px auto 0;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- hero search box ---------- */
.probootstrap-home-search {
  background: rgba(23,30,40,.92);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.75);
  padding: 34px;
}
.probootstrap-home-search .heading { font-weight: 600; font-size: 26px; letter-spacing: -.01em; }
.probootstrap-home-search .probootstrap-field-group .probootstrap-fields {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  overflow: hidden;
}
.probootstrap-home-search .probootstrap-field-group .btn.btn-success {
  background: var(--accent);
  border: none;
  color: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-weight: 600;
}
.probootstrap-home-search .probootstrap-field-group .btn.btn-success:hover { background: var(--accent-dark); }
@media screen and (max-width: 768px) {
  .probootstrap-home-search .probootstrap-field-group .probootstrap-fields { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .probootstrap-home-search .probootstrap-field-group .btn.btn-success { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
}

/* ---------- feature icon cards (Award Winning, New Houses…) ---------- */
.probootstrap-card .probootstrap-card-media.colored .svg { fill: var(--accent); }
.probootstrap-card-heading { color: var(--text); }
.probootstrap-card-heading a { color: var(--text); }
.probootstrap-card-heading a:hover { color: var(--accent); }

/* ---------- neighborhood hover-overlay tiles: gradient + rounded ---------- */
.probootstrap-hover-overlay {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.probootstrap-hover-overlay:before {
  background: linear-gradient(to top, rgba(12,17,24,.72) 0%, rgba(12,17,24,.34) 60%, rgba(12,17,24,.28) 100%);
}
.probootstrap-hover-overlay:hover:before {
  background: linear-gradient(to top, rgba(12,17,24,.62) 0%, rgba(12,17,24,.24) 60%, rgba(12,17,24,.18) 100%);
}
.probootstrap-hover-overlay .probootstrap-text-overlay h3 { font-weight: 700; letter-spacing: -.01em; }

/* ---------- background CTA section ---------- */
.probootstrap-section.probootstrap-bg .heading { font-weight: 700; letter-spacing: -.01em; }
.probootstrap-section.probootstrap-bg:before { background: rgba(20,26,35,.62); }

/* ---------- property listing cards ---------- */
.probootstrap-card.probootstrap-listing {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}
.probootstrap-card.probootstrap-listing .probootstrap-card-media { overflow: hidden; }
.probootstrap-card.probootstrap-listing .probootstrap-card-media img {
  width: 100%;
  display: block;
  transition: transform .55s ease;
}
.probootstrap-card.probootstrap-listing:hover .probootstrap-card-media img { transform: scale(1.06); }
.probootstrap-card.probootstrap-listing:focus,
.probootstrap-card.probootstrap-listing:hover {
  top: -8px;
  box-shadow: var(--shadow-hover);
}
.probootstrap-card.probootstrap-listing .probootstrap-card-media .probootstrap-love {
  bottom: 12px;
  right: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.probootstrap-card.probootstrap-listing .probootstrap-card-media .probootstrap-love:hover,
.probootstrap-card.probootstrap-listing .probootstrap-card-media .probootstrap-love:focus,
.probootstrap-card.probootstrap-listing .probootstrap-card-media .probootstrap-love.active {
  background: var(--accent);
  color: #fff;
}
.probootstrap-card.probootstrap-listing .probootstrap-card-text .probootstrap-listing-category span {
  border-radius: 999px;
  padding: 3px 13px;
  font-weight: 700;
  letter-spacing: .05em;
}
.probootstrap-card.probootstrap-listing .probootstrap-card-text .probootstrap-listing-category.for-sale span { background: #1f9d6b; }
.probootstrap-card.probootstrap-listing .probootstrap-card-text .probootstrap-listing-category.for-rent span { background: #c65b45; }
.probootstrap-card.probootstrap-listing .probootstrap-card-text .probootstrap-listing-price strong {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- agent / person cards ---------- */
.probootstrap-card.probootstrap-person {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding-bottom: 6px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.probootstrap-card.probootstrap-person:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.probootstrap-card.probootstrap-person .probootstrap-card-media img {
  border: 3px solid var(--accent-soft);
}

/* ---------- split "half" sections ---------- */
.probootstrap-half .text {
  background: linear-gradient(155deg, var(--slate) 0%, var(--slate-2) 100%);
}
.probootstrap-half .text .subtitle {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  font-size: 13px;
}
.probootstrap-half .text h3 { font-weight: 700; letter-spacing: -.01em; }
.probootstrap-half .image { background-color: var(--slate); }

/* ---------- services ---------- */
.service {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service .icon {
  border: 2px solid var(--accent-soft);
  background: var(--accent-soft);
}
.service .icon i { color: var(--accent); }

/* ---------- contact form ---------- */
.probootstrap-form .form-control {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: #fff;
}
.probootstrap-form .form-control:active,
.probootstrap-form .form-control:focus { border-color: var(--accent); }
.probootstrap-form label { color: var(--text); font-weight: 600; letter-spacing: .04em; }
.with-icon.colored i { color: var(--accent); }
#map a { color: var(--accent) !important; }

/* ---------- page title / breadcrumbs (inner hero) ---------- */
.page-title h1 { font-weight: 600; letter-spacing: -.01em; }

/* ---------- footer: polished solid dark slate ---------- */
.probootstrap-footer.probootstrap-bg {
  background: linear-gradient(160deg, var(--slate) 0%, var(--slate-2) 100%) !important;
  padding: 5.5em 0 3.5em;
}
.probootstrap-footer.probootstrap-bg:before { background: transparent; }
.probootstrap-footer-widget .heading {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 24px;
  color: #fff;
}
.probootstrap-footer-widget:not(.right) .heading::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--accent);
}
.probootstrap-footer.probootstrap-bg a { color: rgba(255,255,255,.58); }
.probootstrap-footer.probootstrap-bg a:hover { color: #fff; text-decoration: none; }
.probootstrap-footer.probootstrap-bg .probootstrap-footer-social a:hover { color: var(--accent); }
.probootstrap-footer form .btn.btn-subscribe {
  background: var(--accent);
  border-radius: var(--radius-sm);
}
.probootstrap-footer form .btn.btn-subscribe:hover,
.probootstrap-footer form .btn.btn-subscribe:active,
.probootstrap-footer form .btn.btn-subscribe:focus {
  background: #fff;
  color: var(--slate);
}
.probootstrap-footer form .form-control { border-radius: var(--radius-sm); }

/* ---------- back-to-top ---------- */
.gototop a { background: var(--accent); border-radius: var(--radius-sm); }
.gototop a:hover, .gototop a:active, .gototop a:focus { background: var(--accent-dark); }

/* ---------- Bootstrap 5 .media shim (defensive; template ships none today) ---------- */
.media { display: flex; align-items: flex-start; }
.media > .media-left, .media > .pull-left { flex-shrink: 0; margin-right: 16px; }
.media > .media-body { flex: 1; min-width: 0; }
.media .media-object { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); display: block; }

/* Imágenes uniformes en tarjetas de propiedades */
.probootstrap-card.probootstrap-listing .probootstrap-card-media {
  height: 260px;
  overflow: hidden;
  position: relative;
}
.probootstrap-card.probootstrap-listing .probootstrap-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Tarjetas alineadas: Propiedades destacadas */
.propiedades-destacadas .row:has(> [class*="col-"] > .probootstrap-listing) > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.propiedades-destacadas .probootstrap-card.probootstrap-listing {
  display: flex;
  flex-direction: column;
  float: none;
  width: 100%;
  height: 100%;
  margin-bottom: 30px;
}
.propiedades-destacadas .probootstrap-listing .probootstrap-card-media {
  flex: 0 0 260px;
}
.propiedades-destacadas .probootstrap-listing .probootstrap-card-text {
  flex: 1 0 auto;
}
.propiedades-destacadas .probootstrap-listing .probootstrap-card-extra {
  margin-top: auto;
  float: none;
}
.propiedades-destacadas .probootstrap-listing .probootstrap-card-extra ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 10px;
}
.propiedades-destacadas .probootstrap-listing .probootstrap-card-extra ul li {
  width: auto;
  float: none;
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 575px) {
  .propiedades-destacadas .probootstrap-listing .probootstrap-card-extra ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ===========================================================
   Buscador compacto en celulares — Tierras de Sudamerica
   Mantiene intacta la versión de escritorio.
   =========================================================== */
@media screen and (max-width: 575px) {
  .probootstrap-home-search {
    padding: 22px 14px 18px;
    border-radius: 14px;
  }
  .probootstrap-home-search .heading {
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 16px;
  }
  .probootstrap-home-search .probootstrap-field-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    width: 100%;
    height: 48px;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
  }
  .probootstrap-home-search .probootstrap-field-group .probootstrap-fields {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    height: 48px;
    border-radius: 0 !important;
    float: none !important;
  }
  .probootstrap-home-search .probootstrap-fields .search-field {
    flex: 1 1 53%;
    width: auto !important;
    min-width: 0;
    height: 48px;
    float: none !important;
    position: relative;
    border-right: 1px solid #e1e1e1;
  }
  .probootstrap-home-search .probootstrap-fields .search-category {
    flex: 1 1 47%;
    width: auto !important;
    min-width: 0;
    height: 48px;
    float: none !important;
    position: relative;
  }
  .probootstrap-home-search .probootstrap-fields .form-control {
    width: 100% !important;
    min-width: 0;
    height: 48px !important;
    font-size: 12px !important;
    margin: 0 !important;
    box-shadow: none;
    border: 0 !important;
    text-overflow: ellipsis;
  }
  .probootstrap-home-search .probootstrap-fields .search-field .form-control {
    padding-left: 29px !important;
    padding-right: 5px !important;
  }
  .probootstrap-home-search .probootstrap-fields .search-category .form-control {
    padding-left: 9px !important;
    padding-right: 21px !important;
  }
  .probootstrap-home-search .probootstrap-field-group .btn.btn-success {
    flex: 0 0 49px;
    width: 49px !important;
    min-width: 49px;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  .probootstrap-home-search .btn.btn-success .buscar-texto {
    display: none;
  }
  .probootstrap-home-search .mb0 {
    margin-top: 14px;
  }
}

/* Buscador compacto en celulares */
@media (max-width: 767px) {

  .probootstrap-home-search {
    padding: 18px 14px;
  }

  .probootstrap-home-search .heading {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 14px;
    text-align: center;
  }

}
/* Portada más compacta en celulares */
@media (max-width: 767px) {

  .probootstrap-home-search {
    padding: 12px 12px 14px !important;
    border-radius: 12px;
  }

  .probootstrap-home-search .heading {
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 10px !important;
    text-align: center;
  }

  .probootstrap-home-search .probootstrap-field-group {
    margin-bottom: 0;
  }

}

/* Centrar el buscador dentro de la portada SOLO en móviles */
@media (max-width: 767px) {
  .probootstrap-slider {
    position: relative;
  }

  .probootstrap-slider .probootstrap-wrap-banner {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 5;
  }

  .probootstrap-slider .probootstrap-home-search {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Servicios destacados: dos columnas compactas solo en celulares */
@media (max-width: 575px) {
  .servicios-destacados { padding-top: 32px; padding-bottom: 30px; }
  .servicios-destacados .row { display: flex; flex-wrap: wrap; align-items: stretch; }
  .servicios-destacados .row > .col-6 {
    width: 50%; flex: 0 0 50%; max-width: 50%;
    padding-left: 8px; padding-right: 8px; display: flex;
  }
  .servicios-destacados .probootstrap-card {
    width: 100%; margin-bottom: 18px; padding: 8px 3px 12px;
    display: flex; flex-direction: column; align-items: center;
    box-shadow: none; background: transparent;
  }
  .servicios-destacados .probootstrap-card-media.svg-sm {
    width: 58px; height: 58px; margin: 0 auto 12px;
  }
  .servicios-destacados .probootstrap-card-media.svg-sm img {
    width: 58px; height: 58px; object-fit: contain;
  }
  .servicios-destacados .probootstrap-card-text { padding: 0 2px; width: 100%; }
  .servicios-destacados .probootstrap-card-heading {
    font-size: 15px !important; line-height: 1.3; margin: 0 0 9px;
  }
  .servicios-destacados .probootstrap-card-text p {
    font-size: 12px; line-height: 1.5; margin: 0 0 12px;
  }
  .servicios-destacados .probootstrap-card-text p:last-child { margin-bottom: 0; }
  .servicios-destacados .probootstrap-card-text p a { font-size: 12px; }
}

/* Tres servicios en una misma fila en pantallas móviles */
.servicios-destacados .servicio-descripcion-movil { display: none; }
@media (max-width: 575px) {
  .servicios-destacados .container { padding-left: 9px; padding-right: 9px; }
  .servicios-destacados .row { margin-left: -3px; margin-right: -3px; }
  .servicios-destacados .row > .col-6 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
    padding-left: 3px; padding-right: 3px;
  }
  .servicios-destacados .probootstrap-card { padding: 5px 1px 8px; margin-bottom: 8px; }
  .servicios-destacados .probootstrap-card-media.svg-sm { width: 43px; height: 43px; margin-bottom: 9px; }
  .servicios-destacados .probootstrap-card-media.svg-sm img { width: 43px; height: 43px; }
  .servicios-destacados .probootstrap-card-heading { font-size: 12px !important; line-height: 1.25; margin-bottom: 7px; overflow-wrap: anywhere; }
  .servicios-destacados .probootstrap-card-text { padding: 0 1px; }
  .servicios-destacados .servicio-descripcion-completa { display: none; }
  .servicios-destacados .servicio-descripcion-movil { display: block; font-size: 10px !important; line-height: 1.35 !important; margin-bottom: 9px !important; }
  .servicios-destacados .probootstrap-card-text p a { font-size: 11px; }
}

/* Tres servicios alineados en una fila móvil */
@media (max-width: 767px) {

  .servicios-destacados > .container > .row:first-child + .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .servicios-destacados > .container > .row:first-child + .row > .col-md-4 {
    width: 33.333%;
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding-left: 5px;
    padding-right: 5px;
  }

  .servicios-destacados .probootstrap-card-media.svg-sm {
    height: 45px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .servicios-destacados .probootstrap-card-media.svg-sm img {
    width: 35px;
    height: 35px;
    object-fit: contain;
  }

  .servicios-destacados .probootstrap-card-heading {
    font-size: 12px;
    line-height: 1.3;
    margin: 0 0 8px;
  }

}

/* Alinear el contenido de los tres servicios en móviles */
@media (max-width: 767px) {

  /* Cada tarjeta organiza sus elementos verticalmente */
  .servicios-destacados > .container >
  .row:first-child + .row .probootstrap-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  /* Mantener los iconos a la misma altura */
  .servicios-destacados
  .probootstrap-card-media.svg-sm {
    flex: 0 0 45px;
    margin-bottom: 12px;
  }

  /* Organizar títulos, descripciones y enlaces */
  .servicios-destacados
  .probootstrap-card-text {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  /* Reservar el mismo espacio para todos los títulos */
  .servicios-destacados
  .probootstrap-card-heading {
    min-height: 36px;
    margin-bottom: 8px;
  }

  /* Reservar el mismo espacio para las descripciones */
  .servicios-destacados
  .probootstrap-card-text > p:first-of-type {
    flex: 1;
    margin-bottom: 10px;
  }

  /* Alinear los enlaces en la parte inferior */
  .servicios-destacados
  .probootstrap-card-text > p:last-child {
    margin-top: auto;
    margin-bottom: 0;
  }

}

/* Propiedades destacadas: una tarjeta por fila en celulares */
@media (max-width: 767px) {
  .propiedades-destacadas > .container > .row:not(.heading) {
    display: flex;
    flex-wrap: wrap;
  }
  .propiedades-destacadas > .container > .row:not(.heading) > [class*="col-"] {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .propiedades-destacadas .probootstrap-card.probootstrap-listing {
    height: auto;
  }
  .propiedades-destacadas .probootstrap-listing .probootstrap-card-heading {
    font-size: 20px;
    line-height: 1.3;
  }
}
/* Tarjetas de Nuestros servicios con la misma altura */
.servicios-inmobiliarios .row:not(.heading) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  row-gap: 30px;
}

.servicios-inmobiliarios .row:not(.heading) > .clearfix {
  display: none;
}

.servicios-inmobiliarios .row:not(.heading) > [class*="col-"] {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.servicios-inmobiliarios .service {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}

/* Dos columnas en tablets */
@media (min-width: 576px) and (max-width: 767px) {
  .servicios-inmobiliarios .row:not(.heading) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Una columna en teléfonos */
@media (max-width: 575px) {
  .servicios-inmobiliarios .row:not(.heading) {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}
/* Espacio al navegar a secciones con el menú visible */
html {
  scroll-padding-top: 140px;
}

/* Contener el logo y la navegación dentro del encabezado */
.probootstrap-header > .container::after {
  content: "";
  display: table;
  clear: both;
}

/* Evitar que la portada se acomode junto a elementos flotantes */
.probootstrap-slider {
  clear: both;
  width: 100%;
}

/* Banner corporativo a todo el ancho */
.empresa-banner {
  width: 100%;
  margin-bottom: 40px;
}

.empresa-banner img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

/* Portada más compacta en móviles */
@media (max-width: 575px) {
  .probootstrap-slider.page-inner {
    height: 250px !important;
    min-height: 0 !important;
  }

  .probootstrap-slider.page-inner .slides,
  .probootstrap-slider.page-inner .slides > li {
    height: 100% !important;
    min-height: 0 !important;
  }

  .probootstrap-slider.page-inner .probootstrap-wrap-banner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
  }

  .probootstrap-slider.page-inner .page-title {
    margin-top: 0;
    padding-top: 0;
  }

  .probootstrap-slider.page-inner .page-title h1 {
    font-size: 32px;
    line-height: 1.15;
    margin: 8px 0 0;
  }

  .probootstrap-slider.page-inner .probootstrap-breadcrumbs {
    font-size: 13px;
  }
}
/* Centrar las imágenes de portada en móviles */
@media (max-width: 575px) {
  .probootstrap-slider.page-inner .slides > li {
    background-position: center center !important;
    background-size: cover;
    background-repeat: no-repeat;
  }
}
/* Portadas interiores sin espacio lateral */
.probootstrap-slider.page-inner .slides {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.probootstrap-slider.page-inner .slides > li {
  width: 100%;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 575.98px) {
  .probootstrap-header .probootstrap-nav.menu-movil-abierto {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(85vw, 320px) !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    background: #fff !important;
    z-index: 10002 !important;
    padding: 70px 24px 30px !important;
  }
  .probootstrap-header .mobile-menu-overlay.menu-movil-abierto {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.5) !important;
    z-index: 10001 !important;
  }
  .probootstrap-header .probootstrap-nav.menu-movil-abierto .probootstrap-main-nav,
  .probootstrap-header .probootstrap-nav.menu-movil-abierto .probootstrap-main-nav li {
    display: block !important;
    float: none !important;
    width: 100% !important;
  }
  .probootstrap-header .probootstrap-nav.menu-movil-abierto .probootstrap-main-nav a {
    display: block !important;
    padding: 10px 0 !important;
  }
  .probootstrap-header .probootstrap-nav.menu-movil-abierto .extra-text {
    display: block !important;
  }
}
/* Consulta desde las propiedades destacadas */
.propiedades-destacadas .destacada-consulta {
  padding: 20px;
  text-align: center;
}

.propiedades-destacadas .destacada-consulta .btn {
  display: block;
  width: 100%;
  white-space: normal;
}

/* Redes debajo de Consultas */
.contacto-redes {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.contacto-redes a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 22px;
  text-decoration: none;
}

.contacto-redes svg {
  display: block;
  width: 22px;
  height: 22px;
}

.contacto-redes a:hover {
  background: var(--accent);
  color: #fff;
}

.contacto-redes a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}