/*
 Theme Name:   BirdCom
 Theme URI:    https://birdcom.es
 Description:  BirdCom Comunicación y Diseño
 Author:       Dani Moreno
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
li#menu-item-44 a {
  background: var(--contrast-2);
  padding: 12px 30px !important;
  color: white;
  margin-left: 20px;
  text-align: center;
}
li#menu-item-44 a:hover {
  background: var(--contrast);
}
.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus, .has-inline-mobile-toggle #site-navigation.toggled {
  background-color: rgba(0, 0, 0, 0);
	}    
@media (max-width: 1000px) {
li#menu-item-44 a {
  width: 90%;
  margin-top: 24px;
}
#menu-menu-principal {
  margin: 20px 0px;
}
br.hidden-mobile {
  display: none;
  }
	}
@media (min-width: 1000px) {
nav#sticky-navigation {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(10px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
}
nav#sticky-navigation .sticky-navigation-logo img {
  height: 60px;
}

#menu-item-44 a {
  line-height: 1.2;
}
.servicio img {
  transition: transform 0.3s ease;
}
.servicio:hover img {
  transform: rotate(-45deg) scale(1.2);
}
.gb-element-764674e3 {
  animation: border-glow 2s ease 0.3s forwards;
}

@keyframes border-glow {
  0%   { box-shadow: 0 0 0 0px rgba(255,255,255,0.7); }
  50%  { box-shadow: 0 0 0 3px rgba(255,255,255,0.7); }
  100% { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}
a {
    text-decoration: none;
}
.rank-math-breadcrumb p {
	margin-bottom: 0em;
	font-size: 14px;
}
/*CONTACTO*/
#responsive-form {
  max-width: 90%;
  margin: 5 auto;
  width: 100%;
}
.form-row {
  width: 100%;
}
.column-half,
.column-full {
  float: left;
  position: relative;
  padding: 0.4rem;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.column-half p,
.column-full p {
	margin-bottom: 6px;
}
@media only screen and (min-width: 48em) {
  .column-half {
    width: 50%;
  }
}
.wpcf7 label {
  width: 100%;
  font-size: 16px;
}
.form p {
  font-size: 11px;
  text-align: justify;
}
.wpcf7-textarea,
input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  border-radius: 2px;
  border: 1px solid #61616140 !important;
  font-size: 16px;
  margin-bottom: 0px;
  border-width: 2px;
  background: white;
}
textarea.wpcf7-form-control.wpcf7-textarea {
  height: 100px !important;
}
.wpcf7-form-control-wrap > select {
  width: 100% !important;
}
.wpcf7-submit {
  width: 100%;
  font-size: 16px;
  padding: 20px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wpcf7-list-item {
  margin: 6px 6px !important;
}

/* ===================================
   ESTILOS CATÁLOGO DE INMUEBLES
   =================================== */

/* === FILTROS === */
.filtro-inmuebles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #DBDBDB;
    margin-bottom: 30px;
}
.filtro-inmuebles select,
.filtro-inmuebles input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}
.filtro-inmuebles select:focus,
.filtro-inmuebles input:focus {
    outline: none;
    border-color: #a12348;
}
.filtro-inmuebles button {
    background: #a12348;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.filtro-inmuebles button:hover {
    background: #a12348;
    transform: translateY(-2px);
}
.img-inmueble {
  overflow: hidden;
}

.img-inmueble img {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.inmueble:hover .img-inmueble img {
  transform: scale(1.08);
}
/* === GRID DE INMUEBLES === */
.inmuebles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* === TARJETA === */
.inmueble {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #DBDBDB;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.inmueble:hover {
    border: 1px solid #a1234882;
}

/* Imagen */
.img-inmueble {
    position: relative;
    overflow: hidden;
    height: 180px;
    background: #fff;
}
.img-inmueble a {
    display: block;
    height: 100%;
}
.img-inmueble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badges */
.badge-descuento {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e63946;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}
.badge-financiacion {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(52, 152, 219, 0.95);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    z-index: 2;
}
.badge-vendido {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(220, 53, 69, 0.95);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Contenido tarjeta */
.post-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.titulo-inmueble {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}
.titulo-inmueble a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}
.titulo-inmueble a:hover {
    color: #a12348;
}

/* Zona */
.zona-inmueble {
    text-align: left;
    font-size: 16px;
    color: #706E71;
    margin: 0 0 12px;
}

/* Precio */
.precio {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #A12348;
}
.precio-tachado {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}
.precio-actual {
    font-size: 18px;
    font-weight: 700;
    color: #A12348;
}

/* Especificaciones */
.info-extra {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}
.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 8px 4px;
}
.info-item svg {
    display: block;
    flex-shrink: 0;
    width: auto;
    height: 30px;
    background: none;
    padding: 0;
    border-radius: 0;
    stroke: none;
}
.info-item span {
    font-weight: 500;
    font-size: 15px;
    color: #666;
	white-space: nowrap;
}

/* Botón */
.btn-ver-mas {
    display: block;
    text-align: center;
    background: transparent;
    color: #A12348;
    padding: 12px 24px;
    border: 1px solid #A12348;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: auto;
}
.btn-ver-mas:hover {
    background: #a12348;
    border-color: #a12348;
    color: #fff;
}

/* === PAGINACIÓN === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.pagination a,
.pagination span {
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}
.pagination a:hover,
.pagination .current {
    background: #a12348;
    color: #fff;
    border-color: #a12348;
}

/* === SIN RESULTADOS === */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    font-size: 18px;
    color: #666;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .inmuebles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    .filtro-inmuebles {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
@media (max-width: 640px) {
    .inmuebles-grid {
        grid-template-columns: 1fr;
    }
    .filtro-inmuebles {
        grid-template-columns: 1fr;
    }
}

/* === INMUEBLES RELACIONADOS === */
.inmuebles-relacionados .info-extra {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}
.inmuebles-relacionados .info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.inmuebles-relacionados .info-item svg {
    display: block;
    flex-shrink: 0;
    width: auto;
    height: 30px;
    background: none;
    padding: 0;
    border-radius: 0;
    stroke: none;
}
.inmuebles-relacionados .info-item span {
    font-size: 15px;
    color: #666;
}

.anim-step {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-step.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Escalonado automático por orden */
.anim-step:nth-child(2) { transition-delay: 0.15s; }
.anim-step:nth-child(3) { transition-delay: 0.30s; }
.anim-step:nth-child(4) { transition-delay: 0.45s; }