/* ================================
   RESET / BASE
================================ */

:root {
  --color-primary: #1f3b57;   /* azul */
  --color-accent: #c9a14a;    /* dorado */
  --color-dark: #111;
  --color-text: #222;
  --color-light: #f5f5f5;
  --ancho-max: 1400px;
  --ancho-min: 840px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}


body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--color-text);
  background-color: #fff;
}

/* ================================
   UTILITIES
================================ */

.u-container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1rem;
}


.u-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.u-center {
  text-align: center;
}

/* ================================
   LAYOUT
================================ */

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.layout__main {
  flex: 1;
}

section{
  display: grid;
  width: 90%;
  margin: 0 auto;
}


@media (min-width: 1024px){
  section{
    width: 80%;
    max-width: var(--ancho-max);
    min-width: var(--ancho-min);
  }

  .section-mapa{
  width: 80%;
}

}


/* ================================
   HEADER
================================ */


.header {
  background-color: rgb(240, 240, 240);
}

.header__logo-wrapper {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

.header__inner {
  display: flex;
    justify-content: center; /* centra horizontal */
  align-items: center;     /* centra vertical */
  min-height: 200px;
}


.header__logo {
    display: block;

  /* Tu logo actual */
  width: 330px;
  height: 180px;
  background: url("../img/oab_logo_2020.png") no-repeat center;
  background-size: contain;

  text-indent: -9999px;
  overflow: hidden;
}

/* ================================
   NAV
================================ */

.navbar, .bg-body-tertiary {
  background-color: #f0f0f0 !important;
}

.nav-item{
  text-align: center;
}
.dropdown-item{
  text-align: center;
}

.container-fluid{
	width: 90%;
	padding: 0;
}


.nav {
  background: linear-gradient(180deg, var(--color-primary), #162a3f);
}

.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  color: #eee;
  text-decoration: none;
  font-weight: 500;
}

.nav__link:hover {
  color: #fff;
}

/* ================================
   NAV DESKTOP
================================ */


#menu{
  width: 80%;
  max-width: var(--ancho-max);
  min-width: var(--ancho-min);
  margin: 0 auto;
  position: relative;
}

.menu-wrapper{
  width: 100%;
  overflow-x: auto;
  overflow: visible;
}


/* ===========================
   BARRA PRINCIPAL
=========================== */

.botonesMenu{
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 0;

  gap: 20px;
}


/* Cada item */

.botonesMenu > div{
  position: relative; /* para dropdown */
}


/* ===========================
   LINKS
=========================== */

#menu a{
  text-decoration: none;
  color: #222;

  font-size: 15px;
  font-weight: 500;
  letter-spacing: .4px;

  display: flex;
  align-items: center;
  gap: 6px;

  padding: 6px 4px;

  transition: all .25s ease;
}


/* Hover */

#menu a:hover{
  color: #000;
}


/* Flechita */

#menu i{
  font-size: 12px;
}


/* ===========================
   DROPDOWN
=========================== */

.menuDesp{
  position: absolute;

  top: 100%;
  left: 0;

  min-width: 190px;

  background: #fff;

  border: 1px solid #ddd;
  border-radius: 6px;

  padding: 6px 0;
  margin-top: 8px;

  list-style: none;

  box-shadow: 0 6px 20px rgba(0,0,0,.12);

  z-index: 9999;
}


/* Items dropdown */

.menuDesp li{
  width: 100%;
}


/* Links dropdown */

.menuDesp a{
  display: block;

  padding: 8px 16px;

  font-size: 14px;

  white-space: nowrap;
}


/* Hover dropdown */

.menuDesp a:hover{
  background: #f5f5f5;
}


/* Deshabilitados */

.menuDesp a[onclick]{
  cursor: default;
  opacity: .5;
}


/* ===========================
   SUBRAYADO ANIMADO
=========================== */

.botonesMenu > div > a{
  position: relative;
}

.botonesMenu > div > a::after{
  content: "";

  position: absolute;
  left: 0;
  bottom: -4px;

  width: 0%;
  height: 2px;

  background: var(--color-accent);

  transition: .3s;
}

.botonesMenu > div > a:hover::after{
  width: 100%;
}


.fadein {
  position: relative;
  width: 80%;
  max-width: var(--ancho-max);
  min-width: var(--ancho-min);
  aspect-ratio: 4/1;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.fadein video {
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.95;
}



/* ================================
  SLIDER OFERTAS
================================ */

.carousel.pointer-event{margin-top: 17px;width: 100%;}

.carousel-item video{
    pointer-events: auto;
}


/* ================================
   BUSCADOR (FORMULARIO)
================================ */

.buscador_container {
  width: 100%;
  margin: 20px 0 0 0;
  min-width: 320px;
  height: auto;
  background: none;
}

@media (min-width: 1024px){
  .buscador_container {
  margin: 40px 0 0 0;  
   
  }
}

.form_buscador {
  width: 90%;
  margin: 0 auto;
  padding: 24px 5%;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
/* =====================
   MODO ALQUILER (default)
   (queda como ahora)
===================== */

.form_buscador.modo-alquiler{
    grid-template-columns: repeat(2, 1fr);
}


/* =====================
   MODO VENTA
===================== */

.form_buscador.modo-venta {
  display: grid;
}

.form_buscador.modo-venta .campo-operacion {
  order: 1;
  grid-column: 1 / 2;
  /* grid-column: 1 / 1; */
}

.form_buscador.modo-venta .campo-tipo {
  order: 2;
  grid-column: 2 / 2;
}

.form_buscador.modo-venta .campo-zona {
  order: 3;
  grid-column: 1 / 2;
}
.form_buscador.modo-venta .campo-ambientes {
  order: 3;
  grid-column: 1 / 2;
}

.campo-precio {
  display: none;
}


.form_buscador.modo-venta .campo-precio {
  order: 4;
  grid-column: 2 / 2;
  display: block;
}




.form_buscador.modo-venta .form_buscador__row {
  order: 4;
}


.form_buscador select {
  width: 100%;
  height: 48px;

  text-align: center;           /* Android / Chrome */
  text-align-last: center;     /* Firefox */
  -moz-text-align-last: center;

  appearance: none;
  -webkit-appearance: none;

  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 10px;

  padding: 0 36px;   /* IMPORTANTE: espacio para que centre bien */

  font-size: 16px;
  color: #333;
}


.form_buscador .campo-tipo {
  grid-column: 1 / -1;
}


.form_buscador__row {
  /* grid-column: 1 / 3; */
  display: flex;
  grid-column: 1 / 3;
  justify-content: space-between;
  gap: 12px;
}

.form_buscador__row .codigo,
.form_buscador__row .buscar {
  flex: 1;
  height: 48px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
}

.form_buscador__row .codigo {
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid #ddd;
  text-align: center;
  border-radius: 10px;
  color: #333;
  background: #fafafa;
}


.form_buscador__row .buscar {
  width: 100%;
  padding: 0;
  margin: 0;
  background: #111;
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  transition: all .2s ease;
}

.form_buscador__row .buscar:hover {
  opacity: .85;
}

.form_buscador__row .buscar {
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  transition: all .25s ease;
}

.form_buscador__row .buscar:hover {
  background: var(--color-accent);
  color: #000;
}


/* =====================================
   DESKTOP UNA SOLA FILA
===================================== */

@media (min-width: 1024px){

  /* ---------------------------
   ORDEN DESKTOP CORRECTO
---------------------------- */

/* Selects primero */
.campo-operacion{ order: 1; }
.campo-tipo{ order: 2; }
.campo-zona{ order: 3; }
.campo-ambientes{ order: 4; }
.campo-capacidad{ order: 4; }
.campo-precio{ order: 4; }

/* CÃ³digo despuÃ©s */
.codigo{ order: 5; }

/* BotÃ³n Ãºltimo */
.buscar{ order: 6; }


  .form_buscador{
    width: 80%;
    max-width: var(--ancho-max);
    min-width: var(--ancho-min);
    margin: 0 auto;
    padding: 28px 32px;
    display: grid;

    /* ðŸ”¥ magia acÃ¡ */
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 18px;
    align-items: center;
  }

  /* Cada elemento ocupa 1 columna */
  .form_buscador > *{
    grid-column: auto !important;
  }

  /* La fila cÃ³digo + buscar deja de ser fila */
  .form_buscador__row{
    display: contents; /* elimina el wrapper visual */
  }

  .form_buscador__row .codigo,
  .form_buscador__row .buscar{
    width: 100%;
    height: 48px;
  }

}




/* ================================
   TITULOS SECCIONES
================================ */

.section-title {
  margin: 30px auto 0px;
  width: fit-content;
  max-width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 6px 0;
  color: #000;
  text-transform: capitalize;
}

.section-title {
  color: var(--color-primary);
}

.section-title a{
color:inherit;
text-decoration:none;
display:inline-flex;
align-items:center;
gap:6px;
}



.section-subtitle {
  margin: 0 auto;
  width: 100%;
  padding: 5px 3%;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 1px;
  color: var(--color-text);
  /* color: var(--color-primary); */
  border-bottom: solid 1px #666;
}

.section-subtitle {
  border-bottom: 1px solid var(--color-accent);
}

@media (min-width: 820px) {

  .section-title {
 
  }

  .section-subtitle {
    /* border: none; */
  }

}

 h4 {
    margin: 30px auto 5px;
	  width: 100%;   

    display: flex;
    justify-content: center;
    align-items: center;
     gap: 10px;

    font-size: 22px;
    letter-spacing: 1px;
    padding: 6px 0;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
}




/* ==========================================================================
   LISTADO DE PROPIEDADES
   UL contenedor de cards (mobile first)
   ========================================================================== */

.listado-propiedades {
  display: grid;
  grid-template-columns: 1fr;   /* Mobile: 1 columna */
  gap: 16px;
  width: 100%;
  margin: 10px auto 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #000;
}

.listado-propiedades2 {
  display: grid;
  grid-template-columns: 1fr;   /* Mobile: 1 columna */
  gap: 16px;
  width: 100%;
  margin: 10px auto 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #000;
}

/* ==========================================================================
   NEW CARD DE PROPIEDAD (LI)
   Imagen como background
   ========================================================================== */

/* ================================
   CARD PROPIEDAD NUEVA
================================ */

.card-propiedad{
list-style:none;
border-radius:14px;
overflow:hidden;
background:#ffffff;
box-shadow:0 6px 18px rgba(0,0,0,0.1);
transition:all .25s ease;
position:relative;
}

/* hover elegante */

.card-propiedad:hover{
transform:translateY(-4px);
box-shadow:0 10px 28px rgba(0,0,0,0.12);
}


/* ================================
   LINK
================================ */

.prop-link{
display:block;
color:inherit;
text-decoration:none;
height:100%;
}


/* ================================
   IMAGEN
================================ */

.card-img{
aspect-ratio:4/3;
overflow:hidden;
position:relative;
background:#eee;
}

.card-img img{
width:100%;
height:100%;
object-fit:cover;
display:block;
transition:transform .45s ease;
}

/* zoom suave */

.card-propiedad:hover .card-img img{
transform:scale(1.05);
}


/* ================================
   INFO CARD
================================ */

.card-info{
padding:16px 18px 18px;
background:#ffffff;
}


/* ================================
   TITULO
================================ */

.card-title2{
font-size:15px;
font-weight:400;
display:flex;
justify-content:space-between;
align-items:center;
line-height:1.35;
margin:0 0 6px 0;
color:#1f2a37;
}


/* ================================
   PRECIO
================================ */

.card-price2{
font-size:18px;
font-weight:700;
margin:0;
display:flex;
justify-content:space-between;
align-items:center;
color:#0b4a8b; /* tu azul */
}


/* REF */

.card-price2 span,
.card-price2 .ref{
font-size:12px;
font-weight:500;
color:#8b8b8b;
margin-left:6px;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width:768px){

.card-info{
padding:14px 14px 16px;
}

.card-title2{
font-size:14px;
}

.card-price2{
font-size:16px;
}

}


/* ==========================================================================
   CARD DE PROPIEDAD (LI)
   Imagen como background
   ========================================================================== */

.listado-propiedades li {
  position: relative;


    aspect-ratio: 4 / 3;     /* ðŸ‘ˆ controla la altura */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  overflow: hidden;
  border-radius: 10px;
}

.listado-propiedades li.slider {
    aspect-ratio: 4 / 4.5;     /* ðŸ‘ˆ controla la altura */
}

.listado-propiedades li {
  border-radius: 10px;
  overflow: hidden;
  transition: all .25s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.listado-propiedades li:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}



#grillaPropsCont {
  width: 100%;
  overflow: hidden;
}

.viewport {
  overflow: hidden;
}

.track {
  display: flex;
  transition: transform 0.6s ease;
}

/* cada slide */
.slide {
  flex: 0 0 100%;
  display: flex;
   gap: 2.5% !important;
  padding: 0;
}

/* cards */
.slide li {
  list-style: none;
  flex: 0 0 calc((100% - 5%) / 3);
}

/* HOVER PRO */
.slide li:hover{
  transform: translateY(-5px) ease-in-out;
}

/* ==========================================================================
   LINK PRINCIPAL CARD
   Ocupa toda la card (click en cualquier lado)
   ========================================================================== */

.listado-propiedades .prop-link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;    /* Overlay abajo */

  width: 100%;
  height: 100%;

  text-decoration: none;
  color: inherit;
}


/* ==========================================================================
   OVERLAY (contenedor titulo + precio) CARD
   ========================================================================== */

.listado-propiedades .botones {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 16px 18px;
  gap: 6px;
  background-color: rgba(0, 0, 0, 0.5);
}

.card-title {
  display: block;
  width: 100%;
  /*text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
*/

letter-spacing: 0.5px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size: 20px;          /* Mobile */
  font-weight: 400;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
}

@media (min-width: 820px) {

  .card-title {
    font-size: 18px;
  }

}

.card-price {
   /* display: block; */
   width: 100%;
   display: flex;
   justify-content:space-between;
   align-items:center;
   text-align: center;
   font-size: 20px;          /* Mobile */
   font-weight: 600;
   color: #fff;
   margin: 0;
   text-shadow: 1px 1px 2px #000;
}

.card-price strong {
  color: var(--color-accent);
  font-weight: 400;
}

@media (min-width: 820px) {

  .card-price {
    font-size: 16px;
  }

}

.card-price strong {
  font-weight: 600;
  margin-right: 6px;
}




/* ==========================================================================
   DESKTOP LISTADO PROPIEDADES  
   ========================================================================== */

@media (min-width: 820px) {

  .listado-propiedades {
    grid-template-columns: repeat(3, 1fr);   /* 3 columnas */
   gap: 25px;
  }

   .listado-propiedades2 {
    grid-template-columns: repeat(3, 1fr);   /* 3 columnas */
   gap: 25px;
  }

  .listado-propiedades li {
  }

  .listado-propiedades .titulo {
    font-size: 15px;
    font-weight: 500;
  }

  .listado-propiedades .precio {
    font-size: 12px;
    font-weight: 400;
  }

  .listado-propiedades .precio b {
    font-size: 14px;
  }
}

@media (min-width: 1500px) {
  .listado-propiedades {
   gap: 30px;
  }

}



/* ================================
   CONTACTO HOME LIVIANO
================================ */

.prefooter_contact {
  width: 100%;
  margin: 30px auto;
}

.prefooter_contact ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5%;
  padding: 0;
  margin: 0;
}

.prefooter_contact li {
  list-style: none;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 15px 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  text-align: center;
}

.prefooter_contact i {
  font-size: 26px;
  color: #198754;
}

.prefooter_contact li {
  background: #fff;
  border-radius: 10px;
  padding: 15px 10px;
  border: 1px solid #eee;
  transition: all .2s ease;
}

.prefooter_contact li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.prefooter_contact i {
  font-size: 26px;
  color: var(--color-accent);
}

.prefooter_contact a {
  text-decoration: none;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 500;
}


/* Mobile */
@media (max-width: 600px) {

  .prefooter_contact ul {
    grid-template-columns: 1fr;
    gap: 15px;
  }

}


/* ==========================================================================
   MAPA DE ZONAS â€“ CONTENEDOR GENERAL
   Reemplaza #mapaZonas â†’ .mapa_container
   ========================================================================== */

   #mapaReal{
    width:100%;
    height:450px;
    border-radius:10px;
}

.mapa_container {
  width: 100%;
  margin: 10px auto;
  display: grid;
  grid-template-columns: 1fr;   /* Mobile: una columna */
  gap: 16px;
}

/* Barra inferior */
/* Contenedor filtros */
.mapa-filtros{
   margin-top:15px;
   display:flex;
   justify-content:space-between; /* manda todo a la derecha */
   align-items:center;
   gap:15px; /* espacio entre texto y select */
   width: 100%;
   padding: 24px 5%;
   background: #ffffff;
   border-radius: 14px;
   box-shadow: 0px 6px 15px rgba(0,0,0,0.2);
}

.mapa-filtros {
  border-top: 3px solid var(--color-accent);
}

/* Contenedor filtros full */
.mapa-filtros-full{
    display: grid;

    /* 2 filas, 3 columnas (ajustable) */
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;

    gap: 10px;

    padding: 12px;

    background: #f5f5f5;
    border-radius: 8px;
}


/* Selects */
.mapa-filtros-full select{
    width: 100%;
    padding: 8px 10px;

    font-size: 14px;

    border-radius: 6px;
    border: 1px solid #ccc;

    background: #fff;
}


/* Label ocupa fila completa */
.mapa-filtros-full .mapa-label{
    grid-column: 1 / -1;

    font-weight: 600;
    font-size: 13px;

    color: #444;
}


@media (min-width: 1024px){

    .mapa-filtros{
        justify-content: center;   /* centramos el bloque */
    }

    .mapa-filtros-full{
        display: flex;             /* cambiamos de grid a flex */
        justify-content: center;   /* centrado horizontal */
        align-items: center;

        gap: 24px;                 /* espacio uniforme */

        width: 100%;                /* ocupa 70% del ancho */
        max-width: 1280px;

        margin: 15px auto 25px auto;            /* centra dentro del padre */

        padding: 18px 24px;
    }

    .mapa-filtros-full select{
        width: 220px;              /* ancho fijo uniforme */
    }

}


/* Texto "Filtro" */
.mapa-label{
    font-weight: 600; /* normal (sin bold) */
    font-size: 16px;
    color:#666;
    white-space:nowrap;
}

/* Select */
.mapa-filtros select{
    width:70%;
      height: 48px;

    max-width:260px; /* opcional: evita que sea gigante en desktop */
    padding:6px 10px;

      text-align: center;           /* Android / Chrome */
  text-align-last: center;     /* Firefox */
  -moz-text-align-last: center;

  appearance: none;
  -webkit-appearance: none;

  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 10px;

      font-size: 16px;
        color: #333;
}

/* Selects */
.mapa-filtros-full select{
    width: 100%;
    padding: 8px 10px;

    font-size: 14px;

    border-radius: 6px;
    border: 1px solid #ccc;

    background: #fff;
}

  
/* ================= POPUP MAPA ================= */

.mapa-popup{
    width:180px;
    font-family:inherit;
}

.mapa-popup-img{
    width:100%;
    height:100px;
    object-fit:cover;
    border-radius:6px;
    margin-bottom:6px;
}

.mapa-popup-info{
    text-align:center;
}

.mapa-popup-tipo{
    font-size:13px;
    font-weight:500;
    color:#333;
    margin-bottom:4px;
}

.mapa-popup-precio{
    font-size:14px;
    font-weight:600;
    color:#111;
}





/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  width: 100%;
  padding: 24px 0 48px;

  background: radial-gradient(#0e0e0e, #000);
  color: #fff;
  text-align: center;
}



/* ==========================================================================
   NAVEGACIÃ“N footer
   ========================================================================== */

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer__nav a {
  color: #fff;
  font-size: 15px;
  letter-spacing: 1px;
  text-decoration: none;
  font-weight: 300;
}

.footer__nav a:hover {
  text-decoration: underline;
}


/* ==========================================================================
   LOGO footer
   ========================================================================== */

.logo_footer {
  width: 80%;
  max-width: 320px;
  height: 100px;

  background-image: url("../img/logo_footer_02.png");
  background-position: center;
  background-size: 100px;
  background-repeat: no-repeat;

  border-top: 1px solid #5c5c5c;
  margin-top: 16px;
}


/* ==========================================================================
   TEXTO footer
   ========================================================================== */

.footer p {
  font-size: 14px;
  font-weight: 300;
  margin: 0;
}


/* ==========================================================================
   REDES footer
   ========================================================================== */

.footer__social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer__social a {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
}


/* ==========================================================================
   footer DESKTOP
   ========================================================================== */

@media (min-width: 820px) {

  .footer {
    padding: 32px 0 64px;
  }

  .footer__nav a {
    font-size: 15px;
  }

  .footer__social a {
    font-size: 20px;
  }
}


/* ==========================================================================
   INDICE DE RESULTADOS
   ========================================================================== */



/* TÃ­tulo */

.indice-busqueda {
  width: fit-content;
  max-width: 90%;
  margin: 30px auto 15px auto;
  padding: 0;
  font-size: 20px;     /* Mobile */
  font-weight: 300;
  text-align: center;
  text-transform: capitalize;
  letter-spacing: 1px;
  color: #000;
}

.propiedad-title{
margin: 0px auto 20px auto;
}

.indice-busqueda strong {
  font-weight: 500;
  color: var(--color-primary);
}

/* Desktop */

@media (min-width: 820px) {

  .indice-busqueda {
    font-size: 22px;
    text-align: left;
    width: 100%;
    margin: 30px 0 10px 0;
  }

}



/* Botones */

.paginacion-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: none;
  border: none;
  cursor: pointer;

  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #000;

  padding: 6px 10px;

  transition: opacity 0.2s ease;
}






.paginacion-btn.mas {
  position: relative;
  margin: 15px auto;
  font-size: 16px;
  text-decoration: none;
  color: black;
  top: 0;
  right: 0;
}

.paginacion-btn.mas i {
  font-weight: bold;
}

/* Hover */

.paginacion-btn:hover {
  opacity: 0.7;
}


/* Desktop */

@media (min-width: 820px) {

  .paginacion-btn {
    font-size: 16px;
  }

}


/* ==========================================================================
   PAGINA PROPIEDAD
   ========================================================================== */

   .propiedad-content {

   }

  
.section-description {
  width: 80%;
  margin: 32px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 820px) {

  .sections-grid {
    width: 80%;
    max-width: var(--ancho-max);
    min-width: var(--ancho-min);
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
  }


  .section-description.izq {
    grid-column: 1;
    min-width: unset;
       width: 100%;
    margin: 0;
  }

  .section-description.der {
    grid-column: 2;
        min-width: unset;
           width: 100%;
    margin: 0;

  }

}

.section-description p {
  text-align: center;
  font-size: 18px;
}

@media (min-width: 820px){

  .section-description p {
  text-align: left;
  font-size: 18px;
}

}

.property-list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  gap: 12px;
}

.property-list--details {
  grid-template-columns: repeat(2, 1fr);
}



@media (min-width: 820px) {
  .property-list--details {
    grid-template-columns: repeat(3, 1fr);
  }

  .property-list--services {
  grid-template-columns: repeat(2, 1fr);
}
}

.property-item {
  background: #333;
  padding: 10px 8px;
  border-radius: 7px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
}

.property-item strong {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.property-list--services {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 840px) {
  .property-list--services {
    grid-template-columns: repeat(2, 1fr);
  }
}

.property-item {
  background: var(--color-primary);
  color: #fff;
  border-radius: 7px;
}

.property-item strong {
  color: var(--color-accent);
}


/* ================================
   FOTOS
*/

      #fullscreenContent{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-img,
.fullscreen-video{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


   
/* ===============================
   FULLSCREEN
================================ */

.fotosFull {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
	bottom: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  min-width: 100%;
  min-height: 100%;
}

.fotosFull.mostrar {
  display: flex;
  	opacity: 1;
	pointer-events: unset;
}


.closeFull {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.fotosFull button{
	position: fixed;
	top: 50%;
	width: 50px;
	height: 50px;
	color: #FFF;
	font-size: 40px;
	border: none;
	background: none;
	z-index: 500;
}

.fotosFull button.menos{
	left: 5%;
}

.fotosFull button.mas{
	right: 5%;
}

.fotosFull button.cerrar{
	position: absolute;
	top: 2.5%;
	right: 5%;
	font-size: 24px;
	color: #000;
	background-color: #fff;
	width: 35px;
	height: 35px;
	z-index: 200;
}


.fotoSlide {
	margin: auto;
	width: 60%;
	max-height: 90%;
}

.fotosFull img {
max-width: 100%;
    height: fit-content;
    margin: auto;
    z-index: 1;
}
.fotosFull video {
  height: 100%;
  width: auto;
  padding: 0;
  margin: 0 auto;
  z-index: 1;
}


/* ===============================
   FOTOS DESK
================================ */

#sliderProp {
  display: grid;
  width: 100%;
  max-width: var(--ancho-max);
  min-width: 720px;
  aspect-ratio: 16 / 7;
  /* overflow: hidden; */
  margin: 0 auto;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

#sliderProp.grid-video {
  grid-template-columns: 1fr 2fr;
}

/* ðŸ”¥ MUY IMPORTANTE 
#sliderProp > * {
  min-width: 0;
}
*/

/* IZQUIERDA */
.media-left {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.media-left video,
.imgMain {
  width: auto;
  height: 100%;
  max-height: 100%;
  margin: auto;
  /* object-fit: cover; */
  background-size: cover;
  background-position: center;
}

/* DERECHA */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
  height: 100%;
}

/* 6 imÃ¡genes â†’ 2 filas x 3 */
.media-grid.grid-6 {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
}

/* 9 imÃ¡genes â†’ 3 x 3 */
.media-grid.grid-9 {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

/* 12 imÃ¡genes â†’ 3 filas x 4 */
.media-grid.grid-12 {
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

/* MINI */
.mini {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;

   /* ðŸ”¥ IMPORTANTE */
  min-width: 0;
}

.mini:hover {
  transform: scale(1.05);
}

.videoSmall {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}




.mySlides {
  max-width: 90%;
  max-height: 90%;
  display: none;
}

.mySlides video {
  width: 100%;
  height: auto;
}

/* BOTONES */
.cerrar, .menos, .mas {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.cerrar { top: 20px; right: 20px; }
.menos { left: 20px; top: 50%; }
.mas { right: 20px; top: 50%; }


/* /////////////////////   EQUIPAMIENTO */
.equipamiento-lista{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px 14px;

    list-style: none;
    padding: 0;
    margin: 12px 0;
}

/* ITEM */
.equipamiento-lista li{
    display: flex;
    align-items: center;
    gap: 8px;

    background: #f7f7f7;
    padding: 6px 10px;
    border-radius: 6px;

    font-size: 13px;
    color: #333;
}

/* ICONO */
.equipamiento-lista li i{
    color: #2d6cdf;
    font-size: 14px;
    min-width: 18px;
    text-align: center;
}


.property-item--service {
  background: #f0f0f0;
  color: #000;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 80px;
}

.property-item i {
  font-size: 32px;
  color: var(--color-primary);
}

@media (min-width: 820px) {
  .property-item--service {
    font-size: 16px;
    min-height: 56px;
  }

  .property-item i {
    font-size: 14px;
  }
}

.property-list--location {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}

.property-list--location li {
  /* background: #f7f7f7; */
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}


.property-item--location {
  display: flex;
  background-color: #f0f0f0;
  color: #000;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}





/* ================= MAPA PROPIEDAD ================= */

.mapa-propiedad{
    width:100%;
    margin-top:16px;
}

#mapaPropiedad{
    width:100%;
    height:300px;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}


   

/* ==============================
   WHATSAPP CTA
============================== */

.whatsapp-cta {
  width: 100%;
  display: flex;
  justify-content: center;

  padding: 24px 16px 40px;
}


/* BotÃ³n */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  background-color: #198754;
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  padding: 16px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease,
              box-shadow 0.2s ease;
}


/* Hover */
.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

@media (max-width: 819px) {

  .whatsapp-cta {
    position: fixed;

    bottom: 0;
    left: 0;

    background: #fff;

    padding: 12px 16px;

    z-index: 1200;

    border-top: 1px solid #ddd;
  }

  /* Para que no tape contenido */
  main {
    padding-bottom: 90px;
  }

}


/* Barra sticky solo mobile */
.mobile-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: none;
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 2%;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* Mostrar solo en mobile */
@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
  }
}

/* BotÃ³n volver */
.sticky-back {
  font-size: 16px;
  letter-spacing: 1px;
  color: #444;
  text-decoration: none;
  font-weight: 500;
}

/* BotÃ³n compartir */
.sticky-share {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  color: #000;
}


/* ================================
                                          CONTACTO - ESTILO GENERAL
================================ */




/* ================================
   TEXTO HISTORIA
================================ */
.nosotros {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #444;
    text-align: center;
    max-width: 750px;
    margin: 60px auto;
}

.nosotros p {
    margin-bottom: 1.4em;
}

.nosotros p:last-child {
    margin-bottom: 0;
}
/* ================================
   BLOQUES DE CONTACTO
================================ */
.contact-section
{
  width: 84%;
  margin: 30px auto;
}

@media (min-width: 820px) {
  .contact-section {
    width: 70%;
    /* max-width: 1024px; */
  }
}
.contact-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 25px;
}

.contact-section li {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.contact-section li:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
}

/* Iconos */

.contact-section li i {
  font-size: 2rem;
  color: #c9a14a;
  margin-bottom: 5px;
}

/* Flechita chica */

.contact-section li i.chico {
  font-size: 0.8rem;
  margin: 5px;
}

/* Titulos */

.contact-title {
  font-size: 1.2rem;
  color: #1f3b57;
  font-weight: 600;
  margin: 5px 0;
}


/* Links */

.contact-section a {
  margin-top: auto;
  font-weight: 500;
  color: #1f3b57;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-section a:hover {
  color: #c9a14a;
}



/* ================================
   REDES
================================ */

.redes {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.redes a {
  font-size: 1.6rem;
  color: #1f3b57;
  transition: transform 0.3s, color 0.3s;
}

.redes a:hover {
  color: #c9a14a;
  transform: scale(1.15);
}

/* ================================
   FORMULARIO
================================ */

.form-section {
  background: #f6f7f9;
  padding: 40px 20px;
  border-radius: 15px;
}

.contactForm {
  list-style: none;
  padding: 0;
  margin: auto;
  max-width: 600px;
}

.contactForm form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Inputs */

.contactForm input,
.contactForm textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  font-family: inherit;

  transition: border 0.3s, box-shadow 0.3s;
}

.contactForm input:focus,
.contactForm textarea:focus {
  outline: none;
  border-color: #c9a14a;
  box-shadow: 0 0 0 2px rgba(201,161,74,0.2);
}

/* Textarea */

#mensaje {
  min-height: 120px;
  resize: vertical;
}

/* BotÃ³n */

.contactForm input.enviar {
  background: var(--color-primary);
  color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.enviar:hover {
  background: #c9a14a;
  color: #1f3b57;
}

/* ================================
   ANTISPAM (OCULTO)
================================ */

#spam {
  display: none;
}

/* ================================
   MENSAJE ENVIO
================================ */

#mailReport {
  margin-top: 20px;
  font-size: 0.95rem;
  text-align: center;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

  .section-title {
    font-size: 1.6rem;
  }

  .contact-section ul {
    grid-template-columns: 1fr;
  }

  .form-section {
    padding: 30px 15px;
  }
}


/*// ================================
   OFERTAS - SLIDER 
*/

    .oab-slider {
  overflow: hidden;
  padding-left: 16px;
}

.oab-track {
  display: flex;
  gap: 12px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;

  -webkit-overflow-scrolling: touch;
  scroll-padding-left: 16px;
}

.oab-slide {
  flex: 0 0 90%;
  scroll-snap-align: start;

  aspect-ratio: 3 / 3.5; /* podÃ©s probar 1/1 o 16/9 */
  overflow: hidden;
  border-radius: 12px;

  transition: transform 0.2s ease;
}

/* Variante cards */
.oab-slider.oab-slide {
  flex: 0 0 80%;
}

.oab-slider.cards{
 flex: 0 0 90%;
 padding-left: 0;
}

/* ImÃ¡genes */
.oab-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Ocultar scrollbar */
.oab-track::-webkit-scrollbar {
  display: none;
}

.oab-video {
  position: relative;
  width: 100%;
  height: 100%;
}

.oab-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000; /* fallback si tarda en cargar */
  transition: opacity 0.3s ease;
}

.oab-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 60px;
  height: 60px;
  border-radius: 50%;
  
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

/* triangulito */
.oab-play::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  border-left: 18px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.oab-video.playing .oab-play {
  opacity: 0;
  pointer-events: none;
}

.oab-fs {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oab-fs.hidden {
  display: none;
}

.oab-fs-track {
  display: flex;
  height: 100%;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.oab-fs-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oab-fs-slide img,
.oab-fs-slide video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.oab-fs-ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 18px;
}

.oab-fs-close {
  cursor: pointer;
  font-size: 24px;
}