@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* =========================================================
   INMOLIKE · CSS personalizado (Editor web Inmovilla)
   Plantilla: modulo-cabecera-1 / slider-1 / destacados-1
   Azul marca  #211C80 · Naranja marca #FB8C00
   ========================================================= */

/* ---------- 1. Colores de marca: azul #211C80 / naranja #FB8C00 ---------- */

body,
body input, body select, body textarea, body button {
  font-family: 'Poppins', Muli, Helvetica, Arial, sans-serif !important;
}
body { color: #2B2B3A; background: #fff; }

/* ---------- 2. Cabecera ---------- */
#header-bloqueidiomas { display: none !important; }      /* fuera banderas */

#modulo-cabecera-1 { background: #fff; }
#header-bloque2 {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px;
  box-sizing: border-box;
  align-items: center;
  background: #fff;
}
#header-logo a { display: block; }
#header-logo img { height: 62px !important; max-height: none !important; width: auto !important; }

/* Teléfono: sin la pastilla naranja ni el icono gris */
#header-bloquetfno img { display: none; }
#header-bloquetfno a {
  color: #211C80 !important;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .5px;
}
#header-bloquetfno #border {
  background: transparent !important;
  padding: 0 0 0 0;
}
#header-bloquetfno a::before {
  content: "\f095";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 15px;
  color: #fff;
  background: #FB8C00;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 10px;
}

/* Menú */
#header-bloquemenu nav { font-size: 16px; font-weight: 500; }
#header-bloquemenu nav ul { gap: 4px; }
#header-bloquemenu nav li,
#header-bloquemenu nav li a {
  background: transparent !important;
  color: #211C80 !important;
}
#header-bloquemenu nav li {
  padding: 8px 16px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
#header-bloquemenu nav li:hover { background: #F5F5FA !important; }
#header-bloquemenu nav li:hover a { color: #FB8C00 !important; }
#header-bloquemenu nav li.activa { background: #FB8C00 !important; }
#header-bloquemenu nav li.activa a { color: #fff !important; }

/* Menú fijo al hacer scroll: el logo YA NO desaparece.
   (el script de la plantilla lo mueve a top:-200px; lo anulamos) */
#modulo-cabecera-1.sticky {
  background: #fff !important;
  border-bottom: 1px solid #E4E4EE;
  box-shadow: 0 4px 18px rgba(33,28,128,.08) !important;
}
#modulo-cabecera-1.sticky #header-bloque2 { padding: 8px 24px; flex-direction: row; }
#modulo-cabecera-1.sticky #header-logo {
  display: flex !important;
  position: static !important;
  top: auto !important;
  opacity: 1 !important;
}
#modulo-cabecera-1.sticky #header-logo img { height: 44px !important; }
#modulo-cabecera-1.sticky #header-bloquemenu {
  flex-direction: row-reverse !important;
  align-items: center !important;
  gap: 18px;
}
#modulo-cabecera-1.sticky #header-bloquetfno a { flex-direction: row !important; font-size: 17px; }
#modulo-cabecera-1.sticky #header-bloquetfno a::before { width: 30px; height: 30px; font-size: 13px; }

/* ---------- 3. Slider + buscador ---------- */
.slider-1 { height: 620px; background: #211C80; }
.slider-imagen { position: relative; }
.slider-imagen::after {            /* velo para que se lea el texto */
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(23,19,92,.55) 0%, rgba(23,19,92,.15) 45%, rgba(23,19,92,.35) 100%);
  pointer-events: none;
}
#slider-bloque-buscador { top: 170px; width: 94%; max-width: 1180px; }
#slider-slogan {
  padding: 0;
  margin-bottom: 22px;
  color: #fff !important;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.5px;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
#slider-buscador {
  background: #fff !important;
  border-radius: 16px;
  padding: 14px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  align-items: center;
  gap: 8px;
}
#slider-buscador > div { margin: 0 !important; }
#slider-buscador .bloque-input input,
#slider-buscador .custom-select,
#slider-buscador .custom-select-html,
#slider-buscador .componentes-v3 .custom-select {
  border: 1px solid #E4E4EE !important;
  border-radius: 10px !important;
  background: #F5F5FA !important;
  min-height: 44px;
  box-sizing: border-box;
}
#slider-buscador .bloque-input input { padding: 0 12px; }
#slider-bloque-buscador label,
#slider-buscador .bloque-checkbox span { color: #211C80 !important; }
#slider-buscador .buttons { gap: 8px; }
#slider-buscador .buttons button {
  min-height: 44px;
  border-radius: 10px;
  font-weight: 600 !important;
  cursor: pointer;
  border: 0;
}
#slider-buscador .buscarRapido {
  background: #FB8C00 !important;
  color: #fff !important;
  padding: 0 26px;
}
#slider-buscador .buscarRapido:hover { background: #E07800 !important; }
#slider-buscador .avanzado {
  background: transparent !important;
  color: #211C80 !important;
  border: 1px solid #211C80 !important;
}
.slider-botonAnterior, .slider-botonSiguiente { top: 50%; transform: translateY(-50%); opacity: .8; }

/* ---------- 4. Títulos de sección ---------- */
#titulo-destacados-1,
#paginacion-titulo h1,
#titulo-valoramostupido-1,
#titulo-suscribete-1,
.tituloCabecera,
#modulo-pie-1 .pie-datosagencia .titulo {
  color: #211C80 !important;
  font-weight: 700 !important;
  letter-spacing: -.3px;
  text-shadow: none !important;
}
#titulo-destacados-1,
#paginacion-titulo h1 {
  font-size: 34px !important;
  text-align: center;
  margin: 56px 0 28px !important;
}
#titulo-destacados-1::after,
#paginacion-titulo h1::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: #FB8C00;
}

/* ---------- 5. Destacados (carrusel) ---------- */
.modulos-destacados-1 #destacados-carrusel article {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(33, 28, 128, .1);
  transition: transform .25s, box-shadow .25s;
}
.modulos-destacados-1 #destacados-carrusel article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(33,28,128,.16);
}
.modulos-destacados-1 #destacados-carrusel .destacados-ficha-bloque1 .precio1 {
  background: #FB8C00 !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px 0 0 0;
}
.modulos-destacados-1 #destacados-carrusel .destacados-titulo {
  color: #211C80 !important;
  font-size: 15px !important;
  font-weight: 500;
  padding: 12px 14px;
}
.modulos-destacados-1 #destacados-paginacion a span,
.modulos-destacados-1 #destacados-paginacion a.selected span { background: #FB8C00 !important; }

/* ---------- 6. Listado de propiedades ---------- */
#modulo-paginacion { max-width: 1320px; margin: 0 auto; }
#paginacion-contenido article {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(33, 28, 128, .1);
  transition: transform .25s, box-shadow .25s;
}
#paginacion-contenido article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(33,28,128,.16);
}
.paginacion-ficha-tituloprecio {
  background: #211C80 !important;
  color: #fff !important;
  font-weight: 600;
}
#paginacion-contenido .titulo { color: #2B2B3A !important; }
.paginacion-ficha-masinfo {
  color: #FB8C00 !important;
  font-weight: 600;
}
.paginador a { border-radius: 8px; }
.paginador a.paginaActual,
.paginador a:hover { background: #FB8C00 !important; color: #fff !important; }

/* pestaña Alertas */
#paginacion-cabecera menu a {
  background: #211C80 !important; color: #fff !important; border-radius: 10px 10px 0 0;
}

#paginacion-titulo-sections span { color: #6B6B80; font-size: 14px; }

/* ---------- 7. Botones y formularios ---------- */
.botonEnviar, .enviaForm, .botonValorar, button#enviarValoracion,
#plugin-llamamos-enviar, .enviarmodalContacto, .enviarmodalContactoPersonalizado,
button.send, .botonMostarMapa {
  background: #FB8C00 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 12px 26px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background .2s;
}
.botonEnviar:hover, .enviaForm:hover, .botonValorar:hover, button#enviarValoracion:hover,
#plugin-llamamos-enviar:hover, .botonMostarMapa:hover { background: #E07800 !important; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select {
  border-radius: 8px;
}

/* ---------- 8. Valoramos tu propiedad ---------- */
#modulo-valoramostupiso-1 .titulo,
#titulo-valoramostupido-1 { color: #fff !important; }
#modulo-valoramostupiso-1::before {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(33,28,128,.92) 0%, rgba(33,28,128,.75) 55%, rgba(33,28,128,.55) 100%);
  z-index: 0;
}
#modulo-valoramostupiso-1 { position: relative; }
#modulo-valoramostupiso-1 > * { position: relative; z-index: 1; }

/* ---------- 9. Suscríbete ---------- */
#modulo-suscribete-1 { background: #F5F5FA !important; }
#titulo-suscribete-1 { font-size: 24px !important; }
#modulo-suscribete-1 label, #modulo-suscribete-1 .titulo { text-shadow: none !important; color: #211C80 !important; font-weight: 500; }

/* ---------- 9b. Equipo / agentes ---------- */
#modulo-equipo { margin: 40px 0 20px; }
#modulo-equipo h1 {
  justify-content: center;
  padding: 0 20px;
  margin: 16px 0 8px;
  background: transparent !important;
  color: #211C80 !important;
  font-size: 34px;
  font-weight: 700;
  text-align: center;
}
#modulo-equipo h1:empty { display: none; }
#equipo-carrusel article {
  height: 340px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #2B2B3A;
}
#equipo-carrusel article .equipo-imagen {
  flex: 0 0 auto;
  width: 280px;
  height: 280px;
  margin: 0 0 0 auto;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 10px 30px rgba(33, 28, 128, .18);
}
#equipo-carrusel article .equipo-bloquederecha {
  width: auto;
  max-width: 560px;
  margin: 0 auto 0 48px;
  justify-content: center;
}
#equipo-carrusel article .equipo-bloqueinfo { margin-left: 0; }
#equipo-carrusel article .equipo-nombre {
  padding: 0;
  background: transparent !important;
  color: #211C80 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}
#equipo-carrusel article .equipo-puesto {
  margin-top: 6px;
  color: #FB8C00;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
}
#equipo-carrusel article .equipo-descripcion {
  margin: 20px 0 0;
  padding: 18px 22px 18px 70px;
  border-radius: 12px;
  background-color: #F5F5FA;
  background-position: 20px 20px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  text-indent: 0;
  color: #2B2B3A;
}
.equipo-flecha { filter: hue-rotate(0deg); opacity: .7; }
article.equipo-bloque-peq .equipo-imagen { border: 4px solid #fff; box-shadow: 0 8px 24px rgba(33, 28, 128, .15); }
article.equipo-bloque-peq .equipo-nombre { color: #211C80 !important; font-family: 'Poppins', sans-serif !important; font-weight: 600; }
article.equipo-bloque-peq .equipo-puesto { color: #FB8C00 !important; font-style: normal; }
@media (max-width: 760px) {
  #equipo-carrusel article { flex-direction: column; height: auto; }
  #equipo-carrusel article .equipo-imagen { width: 200px; height: 200px; margin: 0 auto; }
  #equipo-carrusel article .equipo-bloquederecha { margin: 20px auto 0; text-align: center; }
}

/* ---------- 10. Pie ---------- */
#modulo-pie-1 { background: #211C80 !important; color: #e8e8f5 !important; }
#modulo-pie-1 a,
#modulo-pie-1 .pie-datosagencia a,
#modulo-pie-1 #pie-menu li { color: #fff !important; }
#modulo-pie-1 #pie-menu li:hover a { color: #FB8C00 !important; }
#modulo-pie-1 .pie-datosagencia .titulo { color: #fff !important; }
#modulo-pie-1 #pie-contacto { border-radius: 12px; overflow: hidden; }
#modulo-pie-1 .pie-datosagenciaLogo img {
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}
#modulo-pie-1 #pie-filaSocial { background: #17135C !important; }
#modulo-pie-1 #pie-contacto .enviaForm { background: #211C80 !important; }
#modulo-pie-1 #pie-contacto .enviaForm:hover { background: #17135C !important; }
#modulo-disenyadoinmovilla-1 { width: 100%; max-width: none; justify-content: center; text-align: center; padding: 10px 0; background: #17135C; color: #b9b9d9; }
#modulo-disenyadoinmovilla-1 a { color: #fff; }

/* ---------- 11. Móvil ---------- */
@media (max-width: 960px) {
  #header-bloque2 { padding: 12px 16px; }
  #header-logo img { height: 48px !important; }
  #header-bloquemenu nav::before {
    background: #211C80 !important;
    color: #fff !important;
    border-radius: 10px;
  }
  #header-bloquemenu nav li.activa { border-radius: 0; }
  .slider-1 { height: 520px; }
  #slider-bloque-buscador { top: 40px; }
  #slider-slogan { font-size: 30px; display: block !important; }
  #slider-buscador { flex-direction: column; align-items: stretch; }
  #slider-buscador .custom-select, #slider-buscador .custom-select-html,
  #slider-buscador .bloque-input, #slider-buscador .componentes-v3 { width: 100% !important; max-width: none !important; }
  #titulo-destacados-1, #paginacion-titulo h1 { font-size: 26px !important; margin: 36px 0 20px !important; }
}
@media (max-width: 600px) {
  .slider-1 { height: 470px; }
  #slider-bloque-buscador { top: 28px; width: calc(100% - 32px); }
  #slider-slogan { font-size: 26px; margin-bottom: 14px; }
  #slider-buscador .slider-buscador-precio,
  #slider-buscador .slider-buscador-ref,
  #slider-buscador .bloque-checkbox,
  #slider-buscador .avanzado { display: none !important; }
  #slider-buscador .buttons { width: 100%; }
  #slider-buscador .buscarRapido { width: 100%; }
  #modulo-slider-1 { height: auto !important; }
}