/* =============================================================================
   IMPORT & GLOBAL STYLES
============================================================================= */
@import url('https://fonts.cdnfonts.com/css/garet');

*:not(i), p, span, a, div, input, select, textarea, h2, h3, h4, h5, h6,
#supercontenedor #slider-bloque-buscador .custom-select select,
#supercontenedor #slider-bloque-buscador div,
#supercontenedor #slider-bloque-buscador input,
#supercontenedor #cabecera-bloque-buscador .custom-select select,
#supercontenedor #cabecera-bloque-buscador div,
#supercontenedor #cabecera-bloque-buscador input,
.modulos-destacados-1 #destacados-carrusel h1.destacados-titulo,
.paginacion-ficha-datos h1.titulo {
  font-family: 'Garet', sans-serif !important;
}

* {
  text-shadow: none !important;
  box-shadow: none !important;
  font-style: normal !important;
}

.titulo {
    line-height: 1.3em !important;
}

h1, h2, h3, h4, h5, h6, p {
    line-height: 1.3em !important;
}

@media (max-width: 768px) {
    span, p {
        font-size: 16px;
    }
}

/* =============================================================================
   SEARCH BAR (Desktop - min-width: 1200px)
============================================================================= */
@media (min-width: 1200px) {
  /* Botón Buscar Rapido */
  #slider-buscador > div.buttons > button.buscarRapido.enviarPostHog {
    background-color: #fffcf6 !important;
    color: #333331 !important;
    border-radius: 20px;
  }

  /* Icono de búsqueda */
  .buscarRapido::before {
    content: '' !important;
    display: inline-block !important;
    vertical-align: middle !important;
    width: 17px !important;
    height: 17px !important;
    background: #333331 !important;
    -webkit-mask: url(../../img/plantillascss/plantillacss1/lupa-buscar.svg) no-repeat center !important;
    -webkit-mask-size: 20px 20px !important;
    mask: url(../../img/plantillascss/plantillacss1/lupa-buscar.svg) no-repeat center !important;
    mask-size: 17px 17px !important;
  }

  /* Slider bloque buscador styling */
  #slider-bloque-buscador #slider-buscador,
  #slider-bloque-buscador #slider-buscador:hover {
    border-radius: 50px;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    background-color: rgba(255, 252, 246, 0.8);
    backdrop-filter: blur(4px);
  }

  #slider-bloque-buscador #slider-buscador *,
  #slider-bloque-buscador #slider-buscador ::after {
    background-color: transparent;
    text-transform: uppercase;
    font-size: 16px;
  }

  /* Hide search input (busqueda) when visible */
  #slider-buscador > div.flex-column.componentes-v3 > label > iv-buscador-areas-webs > div > input.buscador-areas__input-busqueda.buscador-areas__input-busqueda--visible {
    display: none;
  }

  /* Change sign on custom select for Spanish */
  html:lang(es) .custom-select-html::before {
    content: "Tipo";
  }

  /* Desplegable background */
  .buscador-areas__desplegable.buscador-areas__desplegable--abierto {
    background-color: #fffcf6 !important;
  }

  #slider-buscador #inmotipos * {
    background-color: #fffcf6 !important;
  }

  #slider-buscador > div.flex-column.componentes-v3 > label > iv-buscador-areas-webs > div > div ::after {
    background-color: #fffcf6 !important;
  }

  /* Checkbox label color */
  #slider-buscador > div.bloque-checkbox.enviarPostHog > label {
    color: #333331 !important;
  }

  /* Custom checkbox background */
  .custom-checkbox + label:before {
    background: #565656;
  }
}

/* =============================================================================
   TITULOS DE LA SECCIÓN DE LAS PROPIEDADES
============================================================================= */

@media (min-width: 1200px) {
/* Base style */
#titulo-destacados-2 {
  display: block;
  font-size: 30px;
  color: black;
  padding-top: 20px;
  padding-bottom: 40px;
  text-align: center;
}

/* Spanish version */
html:lang(es) #titulo-destacados-2 {
  font-size: 0; /* Hide original text */
  position: relative;
}

html:lang(es) #titulo-destacados-2::after {
  content: "Propiedades destacadas";
  display: block;
  font-size: 40px;
  font-weight: 500;
  color: #333;
  text-align: center;
  position: absolute;
  left: 40%;
  width: 100%;
  transform: translateX(-40%);
  margin-top: 20px;
  top: 0;
}

/* English version */
html:lang(en) #titulo-destacados-2 {
  font-size: 0;
  position: relative;
}

html:lang(en) #titulo-destacados-2::after {
  content: "Featured properties";
  display: block;
  font-size: 40px;
  font-weight: 500;
  color: #333;
  text-align: center;
  position: absolute;
  left: 40%;
  width: 100%;
  transform: translateX(-40%);
  margin-top: 20px;
  top: 0;
}

/* Additional layout for destacados */
.modulos-destacados-2 #destacados-contenedor {
  flex-direction: column;
}


/* =============================================================================
   PROPERTIES HEADER (for Spanish & English)
============================================================================= */
/* Spanish header text */
html:lang(es) #paginacion-cabecera-4::before {
  content: "Todas las propiedades";
  display: block;
  font-size: 40px;
  font-weight: 500;
  color: #333;
  text-align: center;
  position: absolute;
  left: 40%;
  width: 100%;
  transform: translateX(-40%);
  margin-top: 140px;
}

/* English header text */
html:lang(en) #paginacion-cabecera-4::before {
  content: "All properties";
  display: block;
  font-size: 40px;
  font-weight: 500;
  color: #333;
  text-align: center;
  position: absolute;
  left: 40%;
  width: 100%;
  transform: translateX(-40%);
  margin-top: 140px;
}

/* Margin for pagination content */
html:lang(es) #paginacion-contenido-4,
html:lang(en) #paginacion-contenido-4 {
  margin-top: 100px;
}

}

/* =============================================================================
   HEADER
============================================================================= */
#modulo-cabecera-2 {
  background-color: #fff;
}

#modulo-cabecera-2 #header-bloquemenu nav li.activa,
#modulo-cabecera-2 #header-bloquemenu nav li:hover {
  background-color: transparent !important;
  color: #a9a9a9 !important;
  border: none;
}

#header-bloquemenu {
  margin-top: 0;
}

#header-bloquemenu nav {
  margin-bottom: 0;
}

/* Responsive header adjustments */
@media (max-width: 960px) {
  #header-bloque2 {
    background-color: #fff;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 480px) {
  #header-logo {
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  #header-bloquemenu nav::before {
    left: 30%;
  }
  
  #header-bloquemenu nav.xvisible::before {
    max-width: 100%;
    border-radius: 0px 0px 8px 8px;
    left: 50%;
  }
  
  #header-bloquemenu nav.xvisible ul {
    transition: max/height .8s ease-in-out;
  }
}

/* =============================================================================
   SEARCH FORM & PLACEHOLDER STYLES
============================================================================= */
#slider-bloque-buscador:not(.slider-bloque-buscador-1) * {
  font-weight: 300 !important;
}

.buscador-areas__input-valor::placeholder,
.buscador-areas__input-valor::-webkit-input-placeholder,
.buscador-areas__input-valor:-moz-placeholder,
.buscador-areas__input-valor::-moz-placeholder,
.buscador-areas__input-valor:-ms-input-placeholder {
  font-weight: 300 !important;
}

#slider-bloque-buscador {
  top: 40% !important;
}

#slider-buscador > div.flex-column.componentes-v3 > label > iv-buscador-areas-webs > div > input.buscador-areas__input-valor::placeholder {
  font-weight: 300 !important;
}


/* =============================================================================
   STICKY SEARCH (if applicable)
============================================================================= */
#cabecera-bloque-buscador.d-none.cabecera-bloque-buscador-horizontal.noDestacado,
#cabecera-bloque-buscador.d-none.cabecera-bloque-buscador-horizontal.noDestacado * {
  font-weight: 300 !important;
}

/* =============================================================================
   CUSTOM BANNER
============================================================================= */
#modulo-personalizadobanner-1 {
  height: 70vh;
}

#modulo-personalizadobanner-1 #tituloAsunto {
  display: block;
  width: 500px;
  height: 400px;
  background: url('https://i.imgur.com/sjDyXTq.png') no-repeat center center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
}

#modulo-personalizadobanner-1 .parte-der {
  background-color: transparent;
  width: 500px;
}

#modulo-personalizadobanner-1 .botonIr {
  padding: 20px;
  border-radius: 50px;
  background-color: rgba(231, 231, 228, 0.9);
  text-indent: -9999px;
  position: relative; /* 👈 ОБЯЗАТЕЛЬНО для Safari */
  overflow: hidden;   /* 👈 на всякий случай */
}

html:lang(es) #modulo-personalizadobanner-1 .botonIr::before {
  content: "Sobre nosotros";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-indent: 0;
  color: black;
  white-space: nowrap;
  pointer-events: none;
}

html:lang(en) #modulo-personalizadobanner-1 .botonIr::before {
  content: "About us";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-indent: 0;
  color: black;
  white-space: nowrap;
  pointer-events: none;
}

html:lang(no) #modulo-personalizadobanner-1 .botonIr::before {
  content: "Om oss";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-indent: 0;
  color: black;
  white-space: nowrap;
  pointer-events: none;
}


/* =============================================================================
   MAP
============================================================================= */
#modulo-mapapropiedades-1 {
  margin-top: 0;
}

#modulo-mapapropiedades-1 svg {
  width: 40px;
  height: 40px;
  padding: 20px;
  border-radius: 50%;
  background-color: var(--background3-78);
}

#modulo-mapapropiedades-1 svg path {
  fill: #fff;
}

.mapapropiedades-contenedor span {
  font-weight: 300;
}

/* =============================================================================
   NEWSLETTER
============================================================================= */
#modulo-suscribete-1 {
  margin-top: 0;
}

#modulo-suscribete-1 input#emailSuscripcion,
#modulo-suscribete-1 > div.cajas > button {
  border-radius: 20px !important;
}

#modulo-suscribete-1 .titulo {
  line-height: 1.3em !important;
}

.modulos-suscribete .cajas > div.opciones label {
  font-size: 16px !important;
}

/* =============================================================================
   VALORAR
============================================================================= */
#modulo-valoramostupiso-1 {
  margin-top: 0;
  height: 100vh;
  justify-content: center;
}

#modulo-valoramostupiso-1 .parte-izq {
  width: 60%;
}

#modulo-valoramostupiso-1 .parte-der {
  background-color: transparent;
  width: 600px;
}

#modulo-valoramostupiso-1 .titulo {
  font-weight: bold !important;
  font-size: 30px !important;
}

#modulo-valoramostupiso-1 .titulo .mensaje {
  font-weight: normal;
}

#modulo-valoramostupiso-1 .cajas > div {
  gap: 10px;
}

#modulo-valoramostupiso-1 > div.parte-der > div > div:nth-child(1) {
  margin-bottom: 10px !important;
}

#modulo-valoramostupiso-1 .cajas input,
#modulo-valoramostupiso-1 .cajas select {
  border-radius: 20px;
}

#modulo-valoramostupiso-1 button.botonValorar,
button#enviarValoracion {
  border-radius: 20px;
}

.cajaNegraAlerta .cajaAlertaContenedor .cajaAlertaAceptar {
  font-weight: 300;
  border-radius: 20px;
}

body > div.cajaNegraAlerta > div > div.cajaCabeceraModalNuestra {
  font-weight: 800;
}

/* =============================================================================
   NOTICIAS
============================================================================= */
#modulo-ultimasentradas-1 > a {
  background-color: #15adb4;
  color: #fff;
  border-radius: 50px;
  padding: 20px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  align-self: flex-start;
  flex: 0 0 auto;
}

#modulo-ultimasentradas-1 .ultimasentradas-fecha {
  display: none;
}

#modulo-ultimasentradas-1 article > a.ultimasentradas-leermas {
  background-color: #15adb4;
  border-radius: 20px;
  padding: 10px 20px;
  bottom: -20px;
  color: #fff !important;
}

#modulo-ultimasentradas-1 article {
  border: none;
}

/* =============================================================================
   FOOTER
============================================================================= */
/* Hide map buttons and "Public your estate" */
#mostrarMapa_0\",
#pie-subfila1 > div.pie-agencia > div:nth-child(5),
#pie-menu > menu > li:nth-child(1) {
  display: none;
}

/* Footer height */
#modulo-pie-1 #pie-subfila1 {
  height: 40vh;
}

/* Form title and input styles */
#modulo-pie-1 #pie-contacto legend {
  text-transform: none;
  letter-spacing: 1px;
  color: #333;
}

#modulo-pie-1 #pie-contacto input[type=text],
#modulo-pie-1 #pie-contacto textarea {
  border-radius: 20px;
}

#modulo-pie-1 #pie-contacto form {
  background: none;
  top: -20px;
}

#modulo-pie-1 #pie-contacto #eltextolegal3 {
  color: #333;
  font-size: 10px;
}

#modulo-pie-1 #pie-contacto .enviaForm {
  text-align: justify;
  font-size: 16px;
  font-weight: 300;
  background-color: #15adb4 !important;
  color: #fff;
  border-radius: 50px !important;
  line-height: 18px;
  padding: 10px 50px;
  height: 40px;
  border: none;
  margin-top: 8px;
  transition: .2s;
  margin-left: auto;
}

#modulo-pie-1 #pie-contacto .enviaForm:hover {
  color: #333;
  border-color: #fff;
}

#modulo-pie-1 {
  background-color: #fffcf6;
}

#modulo-pie-1 .pie-datosagencia a {
  color: #15adb4;
  font-size: 16px;
}

#modulo-pie-1 #pie-filaSocial {
  background-color: #fffcf6;
}

/* =============================================================================
   RESPONSIVE HOME
============================================================================= */
@media (max-width: 768px) {
    
    /* Search Form */
    #modulo-slider-5 {
        margin-top: 0;
    }
    
    #slider-buscador {
        background-color: rgba(21, 172, 180, 0.9) !important;
    }
    
    .buscarRapido {
        background-color: #FEFCF6 !important;
    }
    
    #modulo-suscribete-1 button.botonEnviar {
        margin-top: 10px !important;
    }
    
    /* MENU */
    #header-bloquemenu nav.xvisible ul {
    transition: max/height .8s ease-in-out;
  }
  
  /* Force the nav to be a top-level, full-screen overlay */
nav.header-menu.xvisible {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(21,172,180,0.8) !important;
  z-index: 999999 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  opacity: 1 !important;
  /* remove animations for debugging */
  transition: none !important;
  pointer-events: auto !important;
}

/* Force UL to be a column of centered items */
nav.header-menu.xvisible ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
}

/* Make each LI clearly visible */
nav.header-menu.xvisible ul li {
  opacity: 1 !important;
  color: #fff !important;
  font-size: 1.5rem !important;
  /* remove any transform or animation */
  transform: none !important;
}

/* Force the links to be visible and large enough */
nav.header-menu.xvisible ul li a {
    width: 300px !important;
    display: table-cell;
    font-size: 18px !important;
    font-weight: 300 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    font-size: 1.5rem !important;
    background-color: none !important;
    border: 2px solid #fff !important; /* so we can see the link box */
    padding: 10px 20px !important;
}


/* If there's any chance other elements overlap, 
   force this nav and its children to the front */
nav.header-menu.xvisible,
nav.header-menu.xvisible * {
  z-index: 999999 !important;
}

#header-bloquemenu nav.xvisible ul {
    margin-top: 0 !important;
}

#header-bloquemenu nav li,
#header-bloquemenu nav li.activa {
    background-color: transparent;
}


  
    
  /* Custom Banner adjustments */
  #modulo-personalizadobanner-1 {
    height: auto;
  }
  
  #modulo-personalizadobanner-1 #tituloAsunto {
    width: 100%;
    height: 250px;
    background-size: cover;
  }
  
  #modulo-personalizadobanner-1 .parte-der {
    width: 100%;
  }
  
  #modulo-personalizadobanner-1 .botonIr {
    padding: 15px;
    border-radius: 25px;
  }
  
  /* Map adjustments */
  #modulo-mapapropiedades-1 svg {
    width: 30px;
    height: 30px;
    padding: 10px;
  }
  
  /* Newsletter adjustments */
  #modulo-suscribete-1 input#emailSuscripcion,
  #modulo-suscribete-1 > div.cajas > button {
    width: 100%;
    border-radius: 15px !important;
  }
  
  /* Valorar adjustments */
  #modulo-valoramostupiso-1 .parte-izq,
  #modulo-valoramostupiso-1 .parte-der {
    width: 95%;
  }
  
  #modulo-valoramostupiso-1 .titulo {
    font-size: 24px !important;
  }
  
  #modulo-valoramostupiso-1 .cajas > div {
    gap: 5px;
  }
  
  #modulo-valoramostupiso-1 .cajas input,
  #modulo-valoramostupiso-1 .cajas select {
    border-radius: 15px;
  }
  
  #modulo-valoramostupiso-1 button.botonValorar,
  button#enviarValoracion {
    border-radius: 15px;
  }
  
  #modulo-ultimasentradas-1 {
    gap: 40px;
  }
  
  #modulo-personalizadobanner-1.fixed {
    background-position-x: 10%;
    }
    
    /* Footer height corrections */
    #modulo-pie-1 #pie-subfila1 {
        height: auto;
    }
    
    
  
}

/* =============================================================================
   PÁGINA PROPIEDADES
============================================================================= */
/* Real Estate Block */
.paginacion-ficha-4 .paginacion-ficha-bloque2-4 h1 {
  font-weight: 300 !important;
}

.paginacion-ficha-4 .paginacion-ficha-tituloprecio-4 {
  font-weight: 300 !important;
  font-size: 18px !important;
}

.paginacion-ficha-4 .paginacion-ficha-masinfo-4 {
  padding: 10px 30px !important;
}

/*
.paginacion-ficha-4 .paginacion-ficha-contenedorprincipal-4,
.modulos-destacados-2 #destacados-carrusel article {
  border: solid 1px #e5e5e5 !important;
  border-radius: 8px !important;
}
*/

@media (max-width: 900px) {
  .paginacion-ficha-4 .paginacion-ficha-tituloprecio-4 {
    padding-top: 10px !important;
  }
}

.paginacion-ficha-4 .paginacion-ficha-contenedorprincipal-4 .paginacion-ficha-bloque1-4 {
  border-radius: 8px !important;
}

.paginador,
.paginador a {
  font-weight: 300;
}

/* =============================================================================
   PÁGINA VENDE CON NOSOTROS
============================================================================= */
#modulo-seccion-1 #seccion-cabecera {
  display: none;
}

.textoComillas::before {
  display: none;
}

#modulo-seccion-1 #seccion-cuerpo {
  border: none;
  padding-top: 0;
}

.vende_con_nosotros-title {
  font-size: 1.4em;
  line-height: 1.3em;
  padding-bottom: 20px;
}

/* =============================================================================
   PÁGINA NOTICIAS
============================================================================= */
#tituloNoticia {
  visibility: hidden;
  margint-top: -50px !important;
}

.sectionNoticias .fechaNoticia {
  display: none;
}

.sectionNoticias .txtNoticia h3 a {
  color: #333331 !important;
}

.sectionNoticias .txtNoticia h3 {
  font-weight: 300;
  font-size: 18px;
  padding-bottom: 10px;
}

.sectionNoticias .txtNoticia {
  background: #fff !important;
}

.sectionNoticias .txtNoticia p {
  background: #fff !important;
}

.sectionNoticias .masinfo {
  background: none;
}

.sectionNoticias .masinfo a {
  background-color: #15adb4;
  border-radius: 20px;
  padding: 10px 20px;
  color: #fff !important;
}

.quote {
    display: none;
}

.blockquote {
    padding: 25px 15px 40px 15px;;
}



/* =============================================================================
   MOBILE ADDITIONAL STYLES (New additions)
============================================================================= */
@media only screen and (max-width: 780px) {
    
    
}

