/*root*/
:root{
  --colorprimario:#1c2870;
  --colorprimario-h: #1f3195;
}

.colorprimario{
  color: var(--colorprimario);
}
hr{
  color: var(--colorprimario);
}
/* imagen card de propiedades */
.card-img-top{
  height: 220px;
  object-fit: cover;
}
.pointer{
  cursor: pointer;
}




/*home */

.btn-identidad:active {
  background: #16205c!important;
  color: #fff!important;
}
.btn-enviar:active, .btn-aplicar:active {
  background: #16205c!important;
  color: #fff!important;
}
/* emprender*/ 
#emprenderButton {
  position: relative;
  overflow: hidden;
  display: inline-block;
  height: 42px; /* ajustá a la altura real del botón */
  line-height: 42px;
  transition: background-color 0.3s ease;
}

#emprenderButton .texto {
  display: block;
  position: relative;
  transform: translateY(0);
  transition: transform 0.35s ease;
}

/* Pseudo-elemento oculto inicialmente FUERA del botón */
#emprenderButton::after {
  content: "Próximamente";
  position: absolute;
  left: 0;
  top: 100%; /* 👈 arranca totalmente fuera (abajo) */
  width: 100%;
  text-align: center;
  color: inherit;
  transition: top 0.35s ease;
}

/* Hover: el texto sube, y el pseudo baja dentro */
#emprenderButton:hover .texto {
  transform: translateY(-100%);
}

#emprenderButton:hover::after {
  top: 0; /* 👈 entra desde abajo */
}

/*emprender button*/

/* Orden de aparición */
.titulo-banner.slideEff {
  animation-delay: 0s;
}

.subtitulo-banner.slideEff {
  animation-delay: 0.3s;
}

.banner .btn-identidad.slideEff {
  animation-delay: 0.6s;
}

.btn-outline-identidad.slideEff {
  animation-delay: 0.9s;
}


.banner {
    overflow: hidden;
    background-image: url('/static/images/living.jpg'); 
    width: 100%; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
}
.footer-con{
  background-color: #1c2870!important;
}

/* Overlay con filtro */
.banner::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 40, 112, 0.8); /* #1c2870 con 80% opacidad */
    z-index: 1;
}

/* Para que el contenido quede arriba del overlay */
.banner > * {
    position: relative;
    z-index: 2;
}

/* Títulos */
.titulo-banner {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive */
    font-weight: 700;
    margin-bottom: 1rem;
}

.subtitulo-banner {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    color: #f1f1f1; /* más suave que el blanco puro */
    max-width: 800px;
    margin: 0 auto;
}

/* Botones de identidad */
.banner .btn-identidad {
    background-color: #fff;
    color: #1c2870;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease-in-out;
}

.banner .btn-identidad:hover {
    background-color: #fff!important;

    color: #1c2870!important;
    transform: translateY(-2px)!important;
    box-shadow: 0 6px 12px rgba(28, 40, 112, 0.3)!important;
    /* color: #fff; */
}

.btn-outline-identidad {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease-in-out;
}

.btn-outline-identidad:hover {
    background-color: #fff;
    color: #1c2870;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(28, 40, 112, 0.3);
}

/* buscador */




.titulo-buscador {
  font-weight: 700;
  color: #1c2870;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

/* Contenedor principal */
.buscador-form {
  max-width: 1000px;
}

/* Inputs y selects */
.buscador-form .form-select,
.buscador-form .form-control {
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  box-shadow: none;
  transition: all 0.2s ease;
}

.buscador-form .form-select:focus,
.buscador-form .form-control:focus {
  border-color: #1c2870;
  box-shadow: 0 0 6px rgba(28, 40, 112, 0.3);
}

/* Botón principal */
.btn-identidad {
  background-color: #1c2870;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.btn-identidad:hover {
  color: #fff;
  transform: translateY(-2px)!important;
  background-color: #1f3195!important;
  box-shadow: 0 6px 12px rgba(28, 40, 112, 0.3)!important;
}


/* Responsividad adicional */
@media (max-width: 768px) {
  .buscador-form {
      padding: 2rem 1.2rem;
  }
  .titulo-buscador {
      font-size: 1.6rem;
  }
}



/* destacadas */

/* =============================
   SECCIÓN DESTACADAS
============================= */

.destacadas {
  background-color: #f8f9fc;
}

.destacadas .titulo-destacadas {
  color: #1c2870;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
}

.destacadas .subtitulo-destacadas {
  color: #555;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

/* === Cards === */
.destacadas .propiedad-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destacadas .propiedad-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(28, 40, 112, 0.25);
}

/* === Imagen y precio === */
.destacadas .img-container {
  position: relative;
  overflow: hidden;
}

.destacadas .img-container img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.destacadas .precio-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #1c2870;
  color: #fff;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* === Botón === */
.destacadas .btn-detalle {
  background-color: #1c2870;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.destacadas .btn-detalle:hover {
  background-color: #16205c;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(28, 40, 112, 0.3);
}

/* === Responsive ajustes === */
@media (max-width: 768px) {
  .destacadas .img-container img {
      height: 200px;
  }
}



/* =============================
   SECCIÓN OFRECEMOS
============================= */

.ofrecemos {
  background-color: #f8f9fc;
}

.ofrecemos .titulo-ofrecemos {
  color: #1c2870;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
}

.ofrecemos .subtitulo-ofrecemos {
  color: #555;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

/* === Cards === */
.ofrecemos .card-ofrecer {
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}

.ofrecemos .card-ofrecer:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(28, 40, 112, 0.2);
}

/* === Icono circular === */
.ofrecemos .icono {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #1c2870;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.ofrecemos .card-ofrecer:hover .icono {
  background-color: #16205c;
  transform: scale(1.1);
}

/* === Botón === */
.ofrecemos .btn-ofrecer {
  background-color: transparent;
  border: 2px solid #1c2870;
  color: #1c2870;
  min-width: 120px;
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.ofrecemos .btn-ofrecer:hover {
  background-color: #1c2870;
  color: #fff;
  transform: translateY(-2px);
}

/* === Responsive === */
@media (max-width: 768px) {
  .ofrecemos .card-ofrecer {
      padding: 1.5rem 1rem;
  }
  .ofrecemos .icono {
      width: 60px;
      height: 60px;
      font-size: 1.6rem;
  }
}

/*categorias*/
/* =============================
   SECCIÓN CATEGORÍAS
============================= */

.categorias .titulo-categorias {
  color: #1c2870;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
}

.categorias .subtitulo-categorias {
  color: #555;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

/* ===== GRID EXACTA ===== */
.categorias .categorias-grid {
  display: grid;
  grid-template-areas:
    "left right-top"
    "left right-bottom";
  grid-template-columns: 1fr 1fr;   /* 50% / 50% */
  grid-template-rows: 50vh 50vh;    /* total 100vh */
  gap: 16px;
  height: 100vh;
}

.categorias .tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.categorias .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

/* Áreas */
.categorias .left { grid-area: left; }
.categorias .right-top { grid-area: right-top; }

/* La mitad derecha inferior se divide en 2 columnas iguales */
.categorias .right-bottom {
  grid-area: right-bottom;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 25% + 25% del total */
  gap: 16px;
  height: 100%;
}

/* ===== Overlay / Título centrado con franja que se expande ===== */
.categorias .overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Fondo independiente que se anima */
.categorias .overlay::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 64px; /* franja inicial */
  background: rgba(0, 0, 0, 0.45);
  transition: all 0.35s ease;
  z-index: 1;
}

/* Texto fijo y centrado */
.categorias .overlay span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: clamp(1rem, 3.2vw, 2.2rem);
  text-align: center;
}

/* ===== Hover ===== */
.categorias .tile:hover img {
  transform: scale(1.05);
}

/* Solo se anima el fondo oscuro, el texto queda fijo */
.categorias .tile:hover .overlay::before {
  top: 0;
  transform: none;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .categorias .categorias-grid {
    grid-template-areas:
      "left"
      "right-top"
      "right-bottom";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .categorias .left,
  .categorias .right-top {
    height: 45vh;
  }

  .categorias .right-bottom {
    grid-template-columns: 1fr;
  }

  .categorias .right-bottom .tile {
    height: 40vh;
  }
}


/*Contacto */
/* =============================
   SECCIÓN CONTACTO
============================= */

.contacto {
  background-color: #f8f9fc;
}

.contacto .titulo-contacto {
  color: #1c2870;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
}

.contacto .subtitulo-contacto {
  color: #555;
  font-size: clamp(1rem, 2vw, 1.1rem);
  max-width: 700px;
  margin: 0 auto;
}

/* === Formulario === */
.contacto-form {
  border: 1px solid #e6e6e6;
  transition: all 0.3s ease;
}

.contacto-form .form-label {
  color: #1c2870;
  display: flex;
  align-items: center;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contacto-form .form-label i {
  color: #1c2870;
  font-size: 1.2rem;
}

/* Inputs animados */
.anim-input {
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: none;
  transition: all 0.3s ease;
}

.anim-input:focus {
  border-color: #1c2870;
  box-shadow: 0 0 8px rgba(28, 40, 112, 0.3);
  transform: translateY(-2px);
}

.anim-input:hover {
  border-color: #1c2870;
}

/* Botón de envío */
.contacto .btn-enviar {
  background-color: #1c2870;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
}

.contacto .btn-enviar:hover {
  background-color: #16205c;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(28, 40, 112, 0.3);
}

/* === Mapa e información === */
.contacto .mapa-box {
  border: 1px solid #e6e6e6;
}

.contacto .mapa iframe {
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.contacto .mapa:hover iframe {
  transform: scale(1.02);
}

.contacto .direccion p {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contacto .direccion i {
  color: #1c2870;
}

/* === Responsive === */
@media (max-width: 992px) {
  .contacto .mapa-box {
    margin-top: 2rem;
  }

  .contacto .mapa iframe {
    height: 220px;
  }
}

/* contacto */


/* =============================
   SECCIÓN DE CONTACTO PAGE
============================= */

/* === General === */
.contacto-page {
  font-family: 'Poppins', sans-serif;
}

/* === Sección 1 === */
.contacto-page .contacto-hero {
  position: relative;
  height: 100vh;
  background: url('/static/images/edificio.jpg') center/cover no-repeat;
  overflow: hidden;
}

.contacto-page .contacto-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 40, 112, 0.85);
  z-index: 1;
}

.contacto-page .contacto-hero .container {
  position: relative;
  z-index: 2;
}

/* Información */
.contacto-page .info-contacto .titulo {
  font-size: 2.2rem;
  color: #fff;
}

.contacto-page .info-contacto .subtitulo {
  font-size: 1.1rem;
  color: #ddd;
}

.contacto-page .contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.contacto-row{
  opacity: 0;
  transform: translateY(100px);
  animation: fadeUp 1s ease forwards;
}
.fadeUpEff{
  opacity: 0;
  transform: translateY(100px);
  animation: fadeUp 1s ease forwards;  
}
.slideEff{
  opacity: 0;
  transform: translateX(300px);
  animation: slide 1s ease-out forwards;  
}


.contacto-page .contacto-item .icon {
  font-size: 2rem;
  color: #fff;
  flex-shrink: 0;
}

/* Formulario */
.contacto-page .contacto-form {
  border: none;
}

.contacto-page .contacto-form .form-label {
  color: #1c2870;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.contacto-page .contacto-form .form-label i {
  color: #1c2870;
  font-size: 1.2rem;
}

.contacto-page .anim-input {
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: none;
  transition: all 0.3s ease;
}

.contacto-page .anim-input:focus {
  border-color: #1c2870;
  box-shadow: 0 0 8px rgba(28, 40, 112, 0.3);
  transform: translateY(-2px);
}

.contacto-page .btn-enviar {
  background-color: #1c2870;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
}

.contacto-page .btn-enviar:hover {
  background-color: #16205c;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(28, 40, 112, 0.3);
}

/* Animación */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === Sección 2 === */
.contacto-page .contacto-mapa {
  height: 100vh;
  background: linear-gradient(to top, #0e164f 0%, #1c2870 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contacto-page .contacto-mapa .titulo {
  font-size: 2rem;
  color: #fff;
}

.contacto-page .contacto-mapa .subtitulo {
  font-size: 1.1rem;
  color: #e0e0e0;
}

.contacto-page .mapa-container {
  width: 80%;
  max-width: 800px;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
}

.contacto-page .mapa-container:hover {
  transform: scale(1.02);
}

.contacto-page .direccion {
  font-size: 1rem;
}

.contacto-page .direccion i {
  color: #fff;
}

/* === Responsive === */
@media (max-width: 992px) {
  .contacto-page .contacto-hero {
    height: auto;
    padding: 4rem 0;
  }

  .contacto-page .contacto-mapa {
    height: auto;
    padding: 4rem 0;
  }

  .contacto-page .mapa-container {
    width: 100%;
    height: 300px;
  }
}



/*nosotros */

/* =============================
   SECCIÓN NOSOTROS
============================= */
.nosotros-page {
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

/* === SECCIÓN 1 === */
.nosotros-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: #f8f9fc;
}

.nosotros-page .nosotros-hero .titulo {
  color: #1c2870;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
}

.nosotros-page .mensaje-overlay {
  position: absolute;
  bottom: -55px;
  left: 5px;
  background-color: #1c2870;
  max-width: 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Recuadros de valores */
@media (max-width: 992px) {
    .nosotros-page .valor-item {
    max-width: 300px;
  }
  .dato-card, .persona-card{
    max-width: 300px;
  }
}
.nosotros-page .valor-item {
  transition: all 0.3s ease;
  background-color: #fff;
}

.nosotros-page .valor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(28, 40, 112, 0.2);
}

/* === SECCIÓN 2 === */
.nosotros-page .nosotros-datos {
  height: 60vh;
  background-color: #f8f9fc;
}

.nosotros-page .dato-card {
  background: #fff;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nosotros-page .dato-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(28, 40, 112, 0.2);
}

/* === SECCIÓN 3 === */
.nosotros-page .nosotros-equipo {
  height: 100vh;
  position: relative;
  background: url('/static/images/oficina-bg.jpg') center/cover no-repeat;
}

.nosotros-page .nosotros-equipo .overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 40, 112, 0.85);
  z-index: 1;
}

.nosotros-page .nosotros-equipo .container {
  position: relative;
  z-index: 2;
}

.nosotros-page .persona-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nosotros-page .persona-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(28, 40, 112, 0.25);
}

/* === Responsive === */
@media (max-width: 992px) {
  .nosotros-page .nosotros-hero,
  .nosotros-page .nosotros-datos,
  .nosotros-page .nosotros-equipo {
    height: auto;
    padding: 2rem 0;
  }

  .nosotros-page .mensaje-overlay {
    position: relative;
    bottom: 60px;
    left: 20px;
    margin-top: 1rem;
  }
}


/* detalle */
/* =============================
   DETALLE PROPIEDAD
============================= */
/* Fondo difuminado detrás del mensaje */
.alerta-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9); /* nivel de oscurecimiento */
  z-index: 9998;
  opacity: 0;
  animation: fadeInOutOverlay 2s ease forwards;
}

.alerta-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background-color: var(--colorprimario);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  z-index: 9999;
  opacity: 0;
  animation: fadeInOutModal 2s ease forwards;
}

.alerta-modal.error {
  background-color: #c0392b;
}

@keyframes fadeInOutModal {
  0% {
    opacity: 0;
    transform: translate(-50%, -55%) scale(0.85);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  90% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -45%) scale(0.9);
  }
}

@keyframes fadeInOutOverlay {
  0% { opacity: 0; }
  10%, 90% { opacity: 0.9; }
  100% { opacity: 0; }
}




.detalle-propiedad { background:#fff; }
.text-identidad { color:#1c2870; }

/* Carrusel principal */
.detalle-propiedad .main-carousel .carousel-inner img{
  height: 500px; width:100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

/* Controles con sombreado lateral en hover */
.detalle-propiedad .carousel-control-prev,
.detalle-propiedad .carousel-control-next {
  width: 12%;
  transition: background .3s ease;
}
.detalle-propiedad .carousel-control-prev:hover {
  background: linear-gradient(to right, rgba(0,0,0,.35), transparent);
  border-radius: 16px 0 0 16px;
}
.detalle-propiedad .carousel-control-next:hover {
  background: linear-gradient(to left, rgba(0,0,0,.35), transparent);
  border-radius: 0 16px 16px 0;
}

/* Miniaturas */
.detalle-propiedad .thumbs { border: none; }
.detalle-propiedad .thumbs-track {
  white-space: nowrap;
  scrollbar-color: #1c2870 #e6e6e6; /* Firefox */
  scrollbar-width: thin;
  padding: 4px 0;                /* deja espacio arriba y abajo */
  overflow-y: visible;            /* permite que las sombras/bordes salgan */
  overflow-x: auto;
}
.detalle-propiedad .thumbs-track::-webkit-scrollbar { height: 8px; }
.detalle-propiedad .thumbs-track::-webkit-scrollbar-track {
  background: #e6e6e6; border-radius: 10px;
}
.detalle-propiedad .thumbs-track::-webkit-scrollbar-thumb {
  background: #1c2870; border-radius: 10px;
}

.detalle-propiedad .miniatura{
  height: 110px; width: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.detalle-propiedad .miniatura:hover{ transform: scale(1.04); }
.detalle-propiedad .miniatura.active{
  outline: 3px solid #1c2870;
  box-shadow: 0 0 10px rgba(28,40,112,.35);
}

/* Formulario */
.detalle-propiedad .interes-box .form-label { color:#1c2870; }
.detalle-propiedad .anim-input{
  border-radius:8px; border:1px solid #ccc; transition:.3s;
}
.detalle-propiedad .anim-input:focus{
  border-color:#1c2870; box-shadow:0 0 8px rgba(28,40,112,.3); transform:translateY(-2px);
}
.detalle-propiedad .btn-enviar{
  background:#1c2870; color:#fff; border-radius:8px; font-weight:600; padding:.6rem 1.5rem; transition:.3s;
}
.detalle-propiedad .btn-enviar:hover{
  background:#16205c; transform:translateY(-2px); box-shadow:0 6px 12px rgba(28,40,112,.3);
}
.interes-box .contacto-form{
  border: none!important;
}
/* Responsive */
@media (max-width: 992px){
  .detalle-propiedad .main-carousel .carousel-inner img{ height: 360px; }
  .detalle-propiedad .miniatura{ height: 90px; }
}
@media (max-width: 576px){
  .detalle-propiedad .main-carousel .carousel-inner img{ height: 280px; }
  .detalle-propiedad .miniatura{ height: 70px; }
}

/*detalle propeidad texto */
/* =============================
   DETALLE INFORMACIÓN
============================= */
.detalle-informacion {
  background-color: #f8f9fc;
  font-family: 'Poppins', sans-serif;
}

.text-identidad {
  color: #1c2870 !important;
}

/* Íconos + texto */
.detalle-informacion i {
  flex-shrink: 0;
  color: #1c2870;
}

.detalle-informacion span {
  font-size: 1rem;
  color: #333;
}

/* Títulos */
.detalle-informacion h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.detalle-informacion h5 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #444;
}

/* Párrafos */
.detalle-informacion p {
  line-height: 1.6;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .detalle-informacion {
    text-align: center;
  }
  .detalle-informacion .row .col-6 {
    justify-content: center;
  }
}


/* detalle mapa */

/* =============================
   SECCIÓN UBICACIÓN
============================= */
.detalle-ubicacion {
  background-color: #f8f9fc;
  font-family: 'Poppins', sans-serif;
}

.text-identidad {
  color: #1c2870 !important;
}

.detalle-ubicacion h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.detalle-ubicacion p {
  font-size: 1rem;
  line-height: 1.6;
}

.detalle-ubicacion .mapa-wrapper iframe {
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.detalle-ubicacion .mapa-wrapper:hover iframe {
  transform: scale(1.01);
}

/* Responsive */
@media (max-width: 992px) {
  .detalle-ubicacion {
    text-align: center;
  }

  .detalle-ubicacion h5 {
    font-size: 1rem;
  }

  .detalle-ubicacion .mapa-wrapper iframe {
    height: 300px;
  }
}

/* listado */

/* =============================
   LISTADO DE PROPIEDADES
============================= */
.listado-propiedades {
  background-color: #f8f9fc;
  font-family: 'Poppins', sans-serif;
}
#filtros-activos a{
  text-decoration: none!important;
}





.text-identidad { color: #1c2870 !important; }

/* Sidebar desktop */
.sidebar-filtros {
  position: sticky;
  top: 100px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
}

.btn-aplicar {
  background: #1c2870;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: .3s;
}
.btn-aplicar:hover {
  background: #16205c;
  color: #fff;
  transform: translateY(-1px);
}
.btn-limpiar{
  border: 1px solid #aeaeae;
  color: #404040;
  transition: .3s;
}
.btn-limpiar:hover { 
  border: 1px solid #aeaeae;
  color: #404040;
  transform: translateY(-1px);
}

/* Navbar filtros mobile */
/* Navbar filtros - fija debajo del navbar principal */
.navbar-filtros {
  position: fixed;
  top: 11vh; /* ajustá este valor según la altura de tu navbar principal */
  left: 0;
  width: 100%;
  z-index: 1029; /* un nivel menos que la navbar principal */
  border-bottom: 1px solid #e6e6e6;
}

.navbar-filtros h6 {
  color: #1c2870;
  font-weight: 600;
}
.navbar-filtros .btn-outline-primary {
  border-color: #1c2870;
  color: #1c2870;
}
.navbar-filtros .btn-outline-primary:hover {
  background: #1c2870;
  color: #fff;
}

/* Card propiedades */
.propiedad-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.propiedad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(28,40,112,0.15);
}
.img-container { position: relative; }
.precio-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: #1c2870;
  color: #fff;
  padding: .3rem .8rem;
  font-size: .9rem;
  border-radius: 20px;
}
.btn-detalle {
  background: #1c2870;
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  transition: .3s;
}
.btn-detalle:hover {
  background: #16205c;
  color: #fff;
}
.btn-detalle:active {
  background: #16205c!important;
  color: #fff!important;
}





/* Offcanvas ajustes */
.offcanvas {
  width: 300px;
  background-color: #fefefe;
}

/* Responsive */
@media (max-width: 992px) {
  .sidebar-filtros {
    display: none;
  }
}
/* Filtros activos */
#filtros-activos {
  gap: .5rem;
}
#filtros-activos .chip {
  background: #1c2870;
  color: #fff;
  border-radius: 25px;
  padding: .3rem .8rem;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  transition: .2s;
}
#filtros-activos .chip:hover {
  background: #16205c;
}
#filtros-activos .chip i {
  font-size: .9rem;
}


































/* Nav*/

header .nav-link {
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding-bottom: 1px; /* Para que la línea esté alineada correctamente */
  }
.navbar, .navbar-collapse #navbarNavDropdown{
  z-index: 2!important;
}
.navbar-filtros{
  z-index: 1!important;
}

.navbar ,.navbar-expand-lg {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10!important;
    width: 100%;
    /* background-color: transparent!important; */
    background-color: #1c2870!important;
    height: 10vh;
  }
  footer, .footer-con{
    background-color: var(--color-c1) !important;
  }
  .navbar.scrolled {
    /*background-color: var(--color-c1) !important;
    transition: background-color 0.7s ease;*/
    
    backdrop-filter: blur(20px);
    transition:  backdrop-filter 0.7s ease;
  }
  .navbar-brand{
    opacity: 1;
  }
  .navbar-brand.logoIntro{
    opacity: 1;
    transition: opacity 2s ease;
  }
  @media (min-width: 992px) { /* Pantalla Grande pc */
   
    header  .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      border-radius: 2px;
      height: 2px;
      background-color: white;
      transition: width 0.3s ease;
    }
    
    header .nav-link:hover::after,
    header .nav-link.active::after {
      width: 100%;
    }
    
  }
  @media (max-width: 991px) { /*tablet  */

    /*admin */
   
    .admSection{
      margin-left: 10vw!important;
      width: 90vw!important;
      padding: 30px 30px!important;
      /* background-color: #111827ff; */
    }
    #sideBarAdm{
      width: 10vw!important;    
      min-width: 70px!important;
    }
    .sideBarLinks i {
      padding: 5px 0px!important; /* Ajusta el tamaño según sea necesario */
    }
    .saludo{
    display: none;
    }
    .sideBarLinks span {
      display: none;
    }
  
/*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin */
/*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin */
/*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin */
/*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin */
/*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin */
/*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin *//*admin */

.navbar {
    background-color: #1c2870 !important; /* tu color oscuro */
  }
  .navbar-brand{
    opacity: 1;
  }

  /* Botón hamburguesa */
  .navbar-toggler {
    border: 1px solid white;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
 .navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 1px rgb(255, 255, 255) !important;
}


  /* Fondo del menú desplegado */
  .navbar-collapse {
    background-color: #1c2870; /* mismo fondo que la barra */
    padding: 1rem;
    position: absolute!important;      
    top: 10vh!important;  
    left: 0!important;  
    width: 100%!important;
    z-index: 10!important;
  }

  .navbar-nav .nav-link {
    color: white !important;
    animation: slideInRight 0.5s ease forwards;
  }
  .nav-link {
    width: 100%;
  }
  .nav-link:hover{
    background-color: white;
    color: var(--colorprimario)!important;
    width: 100%;
    border: none!important;
}
.nav-link.active{
    border-bottom: none!important;
}
a.nav-link{
    padding: 0px 10px!important;
}


}


/* admin site*/ 
/* --------- Responsive --------- */
@media (max-width: 991px) { /*tablet  */

  /*admin */
 
  .admSection{
    margin-left: 10vw!important;
    width: 90vw!important;
    padding: 30px 30px!important;
    /* background-color: #111827ff; */
  }
  #sideBarAdm{
    width: 10vw!important;    
    min-width: 70px!important;
  }
  .sideBarLinks i {
    padding: 5px 0px!important; /* Ajusta el tamaño según sea necesario */
  }
  .saludo{
  display: none;
  }
  .sideBarLinks span {
    display: none;
  }
}
.sideBarLinks {
    color: var(--colorprimario)!important;
  }

.adm-body{
    background-color: #f0f0f0!important;
  }

.nav-pills .active{
  background-color: #1c2870!important;
  color: white!important;
  font-weight: bold;
  /* background-color: #5b42f3!important; */
}
.sideBarLinks:hover{
  background-color:  #283897!important;  
  color: white!important;
  /* background-color: #5b42f3!important; */
}
.dropdown-item:hover{ 
  background-color: var(--color-c6h)!important;
}

.admSection{
  margin-left: 18vw!important;
  width: 82vw!important;
  padding: 70px 50px;
  /* background-color: #111827ff; */
}
.create{
  background-color: rgb(231, 231, 231);
}



/* Estilo base para todos los enlaces */
#paginador a {
  background-color: var(--colorprimario);
  border-color: var(--colorprimario);
  color: white;
}

/* Hover: cuando el usuario pasa el mouse por encima */
#paginador .page-item:not(.disabled):hover a {
  background-color: var(--colorprimario-h); /* Cambia esto a tu color deseado */
  border-color: var(--colorprimario-h);
  color: white;
}

/* Estado activo (página actual) */
#paginador .page-item.active a {
  background-color: var(--colorprimario-h);
  border-color: var(--colorprimario-h);
  color: white !important;
  pointer-events: none; /* Evita clics en la página actual */
  cursor: default;
  font-weight: 600;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

/* Estado disabled */
#paginador .page-item.disabled a {
  background-color: #e0e0e0; /* o usa var(--colordesactivado) si tienes */
  border-color: #ccc;
  color: #999;
  cursor: not-allowed!important;
}


.btn-toggle-activa {
  border: 1px solid var(--colorprimario);
  color: var(--colorprimario);
  background-color: transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-toggle-activa:hover {
  background-color: var(--colorprimario-h)!important;
  color: #fff;
}

.btn-toggle-activa.activa {
  background-color: var(--colorprimario);
  color: #fff;
}

.btn-toggle-activa.inactiva {
  background-color: transparent;
  color: var(--colorprimario);
}
.btn-toggle-activa:hover .reactivar{
  color: #fff!important;
}


/*crear prop *//*crear prop */
/*crear prop *//*crear prop */
/*crear prop *//*crear prop */
/*crear prop *//*crear prop */

/* Formulario de creación de propiedad */

.titulo-form {
  font-weight: 700;
  color: #1c2870;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.formulario-propiedad {
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
}

.formulario-propiedad .form-control,
.formulario-propiedad .form-select {
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  box-shadow: none;
  transition: all 0.2s ease;
}

.formulario-propiedad .form-control:focus,
.formulario-propiedad .form-select:focus {
  border-color: #1c2870;
  box-shadow: 0 0 6px rgba(28, 40, 112, 0.3);
}

/* Botón principal */


.btn-outline-secondary{
  border-color: #333!important;
  color: #333!important;
}
.btn-outline-secondary:hover{
  background-color: #333!important;
  color: #fff!important;
}









/* Cards de preview */
.card-preview {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}

.card-preview:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(28, 40, 112, 0.2);
}

.card-preview img {
  border-bottom: 2px solid #1c2870;
}

/* Responsive */
@media (max-width: 768px) {
  .formulario-propiedad {
    padding: 2rem 1.2rem;
  }
  .titulo-form {
    font-size: 1.6rem;
  }
}

/*crear prop *//*crear prop */
/*crear prop *//*crear prop */
/*crear prop *//*crear prop */
/*crear prop *//*crear prop */


/*listar */

#imagenAmpliada{
  max-height: 90vh;
}