/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.7.1776205913
Updated: 2026-04-15 00:31:53

*/

/***********************************
 *   General
************************************/
:root {
	--color-base:#1A324D;
    --color-base-light:#E9F0F5;
    --color-secondary:#FC2216;
}
b, strong { font-weight:500; }
body { font-family: var(--e-global-typography-a1afc01-font-family), Sans-serif; }


/* 3. Border Reveal */
.btn-reveal a, a.btn-ver {
  position: relative; overflow:hidden; z-index:0;
}

.btn-reveal a::after, a.btn-ver::after {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #FFF;
  transition: width 0.3s ease;
  z-index: -1;
}
.btn-reveal.azul a::after, a.btn-ver::after { background-color:var(--color-base);  }

.btn-reveal a:hover::after, a.btn-ver:hover::after  {
  width: 100%;
}



/***********************************
 *   Card Contador
************************************/
.icon-container {
  align-self: flex-end;
  width: 52px;
  height: 52px;
	border: 2px solid #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card:hover .icon-container {
  background-color: white;
  border-color: white;
}
/* Animación de la Flecha */
.arrow-icon {
  width: 24px;
  height: 24px;
  transition: all 0.4s ease;
	color:#FFF;
}

/***** BLue version *********/
.icon-container-blue {
  align-self: flex-end;
  width: 52px;
  height: 52px;
	border: 1px solid var( --e-global-color-primary );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card:hover .icon-container-blue {
  background-color: var( --e-global-color-primary );
}

/* Animación de la Flecha */
.icon-container-blue .arrow-icon {  
	color:var( --e-global-color-primary );
}



/* Estado inicial de la flecha al hacer hover */
.card:hover .icon-container-blue .arrow-icon {
  color: #FFF;
}

.card:hover .arrow-icon {
  color: #590A0A;
  animation: arrow-slide 0.4s forwards;
}

@keyframes arrow-slide {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  49% {
    transform: translate(30px, -30px);
    opacity: 0;
  }
  50% {
    transform: translate(-30px, 30px); /* Reaparece abajo a la izquierda */
    opacity: 0;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}


/******** Shortcode categories *******/
.blog-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 2px; /* Espacio entre botones */
    padding: 20px 0;
}

.category-pill {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid var(--color-base); /* Color del borde oscuro */
    border-radius: 50px;       /* Hace el efecto de píldora */
    text-decoration: none;
    color: var(--color-base);    
    transition: all 0.3s ease;
}

.category-pill:hover {
    background-color: var(--color-base);
    color: #ffffff;
}
a.category-pill { font-size: 20px; font-weight:600; line-height:1em; }


/***********************************
 *   Blog
 **********************************/
#blog__content h2 { font-size:32px; font-weight:500; margin-top:30px; }
#blog__content h3 { font-size:24px; font-weight:500; margin-top:10px; }
#blog__content h4 { font-size:18px; font-weight:500; margin-top:10px; }
#blog__content p, #blog__content li { line-height:1.6em; }

#blog__content figure.wp-block-pullquote { border-radius:15px; padding:30px 45px; text-align:left; background: linear-gradient(21deg, #29578c 0%, #1a324d 25.48%, #122430 52.88%, #1a324d 74.52%, #29578c 100%); color:#FFF; margin-top:30px; margin-bottom:30px; }
#blog__content figure.wp-block-pullquote p  {
	font-size:24px; line-height:1.3em; 
}
#blog__content cite { font-size:18px; font-style:normal; }
#blog__content blockquote.wp-block-quote { background: linear-gradient(21deg, #29578c 0%, #1a324d 25.48%, #122430 52.88%, #1a324d 74.52%, #29578c 100%); border-radius: 15px; color:#FFF; padding:30px 40px; margin:50px 0; }
#blog__content blockquote p { font-size:18px; line-height:1.6em; }
#blog__content .wp-block-table {
	background-color:#FFF;
}
#blog__content .wp-block-table table { border:1px solid var(--color-base); border-radius:15px; }
#blog__content .wp-block-table table thead { border-radius:15px 0; }
#blog__content .wp-block-table table th { color:#FFF; background-color:var(--color-base); text-align:left; font-weight:500; font-size:14px; border:none; }
#blog__content .wp-block-table table td { background-color:#FFF; font-size:14px; border:none; }
#blog__content .wp-block-table table td { border-bottom:1px solid var(--color-base); }


#blog__content .wp-block-columns >.wp-block-column { padding:25px 35px; border-radius:15px; border:1px solid var(--color-base); }
#blog__content .wp-block-columns >.wp-block-column p { font-size:14px; }
#blog__content ul.wp-block-list { padding-left: 20px; margin-top:10px; }
#blog__content ul.wp-block-list li { font-size:14px; border-bottom:1px solid #1A324D33; padding-top:5px; padding-bottom:5px;  }


/******* Boton ********/
#blog__content .wp-block-buttons { gap:10px; margin-top:30px; margin-bottom:30px; }
#blog__content a.wp-block-button__link {
	background-color:#E9F0F5; color:#1A324D; padding:10px 15px;	font-weight:500; line-height:1.2em; font-size:14px;
}
#blog__content a.wp-block-button__link::before { 
	content: "";
    width: 10px;
    height: 10px;
	display:inline-block;
    margin-right: 8px; /* Espacio entre flecha y texto */
    background-color: var(--color-base);
	mask-image: url('data:image/svg+xml;utf8,<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 0L4.11875 0.88125L7.60625 4.375H0V5.625H7.60625L4.11875 9.11875L5 10L10 5L5 0Z" fill="black" /></svg>');
    mask-repeat: no-repeat;
    mask-size: contain;
}
#blog__content a.wp-block-button__link:hover { color:#FFF; background-color:var(--color-base); }
#blog__content a.wp-block-button__link:hover::before {
	background-color:#FFF;
}

/****** Acordeon *******/
#blog__content .wp-block-accordion-item {
	border: 1.50px solid #e9f0f5;
	border-radius: 15px;
}
#blog__content h3.wp-block-accordion-heading { margin:0; }
#blog__content button.wp-block-accordion-heading__toggle { 
	width:100%; border:none; font-size:18px; font-weight:500; color:var(--color-base); 
	display: flex;
    text-align: left;
	padding:20px 25px;
	background-color:#E9F0F5;
	border-radius:15px;
}
#blog__content .wp-block-accordion-panel {
	padding:25px 30px; font-size:14px; line-height:1.6em; margin:0;
}
#blog__content .wp-block-accordion-heading__toggle-icon { border:1px solid var(--color-base); border-radius:50%; width:30px; height:30px; }





/* ==========================================================================
   1. CONTENEDOR PRINCIPAL Y ESTRUCTURA GENERAL BUSCADOR
   ========================================================================== */
.buscador-inmobiliario-container {
    font-family: var(--e-global-typography-a1afc01-font-family), Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f0f4f8; /* Fondo sutil azulino de la captura */
}

/* ==========================================================================
   2. BARRA DE BUSCADOR (FILTROS)
   ========================================================================== */
.buscador-inmobiliario {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
	font-family: var(--e-global-typography-a1afc01-font-family), Sans-serif;
}

.buscador-inmobiliario h2 {
    font-size: 36px;
    color: var(--color-base);
    font-weight: 300;
    margin: 0;
}

.buscador-inmobiliario h2 strong {
    font-weight: 700;
}

#filtro-departamentos-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

/* Estilos de los inputs Select */
#filtro-departamentos-form select {
    background-color: #ffffff;
    color: var(--color-base);
    border: none;
    border-radius: 8px;
    padding: 12px 40px 12px 20px;
    font-size: 17px;
    min-width: 160px;
    cursor: pointer;
    appearance: none; /* Quita la flecha nativa */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a0aec0'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
    transition: border-color 0.2s;
}
#filtro-departamentos-form select option { font-size:14px; }

#filtro-departamentos-form select:focus {
    outline: none;
    border-color: #1a365d;
}

/* Botón Buscar */
#filtro-departamentos-form button[type="submit"] {
    /*** background-color: var(--color-base); ****/
    background-color: #FC2216;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 35px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

#filtro-departamentos-form button[type="submit"]:hover {
    background-color: #590A0A;
}

/* ==========================================================================
   3. GRID DE RESULTADOS (TARJETAS)
   ========================================================================== */
.grid-departamentos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px !important;
    transition: opacity 0.3s ease;
}

/* Mensajes de instrucción o vacíos */
.instruccion-busqueda, .sin-resultados {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #627183;
    background: #ffffff;
    border-radius: 16px;
    border: 1px dashed #cbd5e1;
    font-size: 16px;
}

/* ==========================================================================
   4. MAQUETACIÓN DE LA TARJETA (CARD)
   ========================================================================== */
.tarjeta-departamento {
	font-family: var(--e-global-typography-a1afc01-font-family), Sans-serif;
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #eef2f6;
}
.tarjeta-departamento:hover {
	box-shadow: 0 0 25px 0 rgba(26, 50, 77, 0.1);
}

/* Header superior gris de la tarjeta */
.tarjeta-header {
    background-color: #c9daf0; /* Tono gris/azul de fondo superior */
    padding: 12px 24px;
    color: var(--color-base);
    font-size: 17px;
	padding-bottom: 40px;
}
.tarjeta-header strong{ font-weight:700; }

/* Detalle especial si el proyecto tiene entrega inmediata (Borde superior rojo) */
.tarjeta-departamento:has(.entrega-inmediata) .tarjeta-header,
.tarjeta-departamento.entrega-inmediata .tarjeta-header {
    background: linear-gradient(90deg, #990000 0%, #ff0000 100%);
    color: #ffffff;
}

.tarjeta-departamento:has(.en-construccion) .tarjeta-header,
.tarjeta-departamento.en-construccion .tarjeta-header {
    background: var(--color-base);
    color: #ffffff;
}

/* Contenedor del Plano */
.tarjeta-imagen {
    background-color: #ffffff;
    margin: -25px 0px 0 0px;
    border-radius: 20px;
    height: auto;    
    padding: 16px;
}

.tarjeta-imagen-inner {
	border-radius: 16px;
	background-color: #ebf3f9;
	aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarjeta-imagen img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
	border-radius: 16px;
	overflow:hidden;
}

/* Cuerpo de la Información */
.tarjeta-info {
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tarjeta-info h3 {
    font-size: 50px; /* Tipografía grande para el número de dpto (S01, 101) */
    font-weight: 500;
    color: var(--color-base);
    margin: 0;
    line-height: 1;
    float: left;
}

.tarjeta-meta-right {
    margin-left: auto;
    text-align: right;
}

/* Estructura al lado del número grande */
.tarjeta-info-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.tarjeta-meta-right .detalles-tipo {
    font-size: 17px;
    color: var(--color-base);
    margin: 0 0 5px 0;
}

.iconos-caracteristicas {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    font-size: 17px;
    color: var(--color-base);
}

.iconos-caracteristicas .iconos-carac-area::before{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-image: url(img/icon-area-azul.svg);
}
.iconos-caracteristicas .iconos-carac-dorm::before{
    content: "";
    display: inline-block;
    width: 24px;
    height: 16px;
    background-repeat: no-repeat;
    background-image: url(img/icon-dormitorios.svg);
}

/* Footer de la tarjeta */
.tarjeta-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
}

.precio-tag {
    font-size: 30px;
    font-weight: 500;
    color: var(--color-base);
}

.precio-tag small {
    font-size: 17px;
    font-weight: 400;
    margin-right: 4px;
	vertical-align:text-top;
}

/* Botón Ver dpto */
.btn-ver {
    display: inline-block;
    border: 1px solid var(--color-base);
    color: var(--color-base);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: 500 !important;
    transition: all 0.2s ease;
}
.btn-ver svg{ margin-left:5px; }

.btn-ver:hover {
    color: #ffffff;
}
.btn-ver:hover svg path{ fill:#FFF; }

/* Responsive */
@media (max-width: 768px) {
    .buscador-inmobiliario {
        flex-direction: column;
        align-items: stroke;
    }
    #filtro-departamentos-form {
        flex-direction: column;
    }
    #filtro-departamentos-form select, 
    #filtro-departamentos-form button {
        width: 100%;
    }
}




/****************************
  Visor de departamentos
*****************************/
.modulo-interactivo-proyecto {
    display: flex;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    font-family: var(--e-global-typography-a1afc01-font-family), Arial, sans-serif;
}
.modulo-interactivo-proyecto a.btn-descargar,
.modulo-interactivo-proyecto a.btn-mas-info {
	display:inline-block; border:1px solid var(--e-global-color-primary); border-radius: 30px 30px 30px 30px; padding:12px 24px; font-size:20px; font-weight:500; color:var(--e-global-color-primary);
}

.modulo-interactivo-proyecto a.btn-descargar svg,
.modulo-interactivo-proyecto a.btn-mas-info svg {
	margin-left:7px;
}

.modulo-interactivo-proyecto a.btn-descargar:hover,
.modulo-interactivo-proyecto a.btn-mas-info:hover {
	color:#FFF;
}
.modulo-interactivo-proyecto a.btn-descargar:hover svg,
.modulo-interactivo-proyecto a.btn-mas-info:hover svg {
	filter:brightness(10);
}



/* Columna Izquierda (Visor del plano) */
.visor-departamento-izq_wrap {
    width: 66%;
}
.panel-listado-der {
    width: 34%;
}


.visor-departamento-izq {
    flex: 1.5;
    background: #ffffff;
    border-radius: 24px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    min-height: 550px;
    display: flex;
    flex-direction: column;
}

#visor-placeholder-mensaje {
    margin: auto;
    text-align: center;
    color: #a0aec0;
    font-size: 16px;
}

.visor-header {
    display: none;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.visor-header .proyecto-title {
    font-size: 28px;
    color: var(--color-base);
    margin: 0;
}

.dpto-numeros-badge {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-base);
    background: #e2e8f0;
    padding: 6px 16px;
    border-radius: 8px;
}

.visor-datos-tecnicos {
    display: none;
    gap: 30px;
    margin-bottom: 30px;
}

.dato-box {
    display: flex;
    flex-direction: column;
}

.dato-box .label {
    font-size: 11px;
    color: #718096;
    letter-spacing: 0.5px;
}

.dato-box .valor {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-base);
}

.visor-plano-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 0px;
}

.visor-plano-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Columna Derecha (Filtros y Listas) */
.panel-listado-der {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.filtro-label {
    font-size: 14px;
    color: #4a5568;
    display: block;
    margin-bottom: 8px;
}

.botones-filtro {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.btn-filtro-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--color-base);
    padding: 6px 30px;
    font-weight: 500;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filtro-item.active {
    background: var(--color-base);
    color: #ffffff;
    border-color: var(--color-base);
}
.btn-filtro-item:hover {
    background-color: var(--color-secondary);
    color:#FFF;
    border-color: var(--color-secondary);
}

/* Lista de unidades (Filas de la derecha) */
.unidades-disponibles-container {
    display: flex;
    flex-direction: column;
}

.titulo-unidades {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 12px;
}

.lista-items-unidades {
    /* max-height: 378px; */
    height: 378px;
    overflow-y: auto;
    padding-right: 5px;
}

.item-unidad-fila {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    transition: all 0.2s ease;
}

.item-unidad-fila:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.04);
    background: #f7fafc;
}

.item-unidad-fila.selected-unidad {
    border-color: var(--color-base);
    background: var(--color-base);
}

.num-dpto-item {
    font-size: 22px;
    font-weight: 500;
    color: var(--color-base);
}

.precio-dpto-item {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-base);
}

.precio-dpto-item small {
    font-size: 11px;
    font-weight: 400;
    color: var(--color-base);
}


.item-unidad-fila.selected-unidad .num-dpto-item,
.item-unidad-fila.selected-unidad .precio-dpto-item,
.item-unidad-fila.selected-unidad .precio-dpto-item small {
    color: #FFF;
}

/* Responsivo */
@media (max-width: 991px) {
    .modulo-interactivo-proyecto {
        flex-direction: column;
    }
}


/******** Tabs ubicaciones *********/
/* Lista de Botones Verticales */
.tabs-ubicacion-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%; /* Se adapta por completo al ancho de la columna de Elementor */
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

/* Estilo Base del Botón (Pestaña) */
.btn-tab-ubicacion {
    background-color: var(--color-base-light); /* Fondo gris/azul sutil */
    color: var(--color-base);
    border: none;
    border-radius: 12px;
    padding: 10px 24px;
    font-size: 21px;
    font-weight: 500;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
}

.btn-tab-ubicacion .tab-icon-arrow {
    transition: transform 0.25s ease;
    width: 30px;
    height: 30px;
    display: block;
    background-repeat: no-repeat;
    background-size: 100%;
    background-image: url(img/icon-flecha-derecha.svg);
}

/* Efecto Hover */
.btn-tab-ubicacion:hover {
    background-color: var(--color-base);
    color: #FFF;
    transform: translateX(4px);
}

/* Estado Activo (Pestaña Seleccionada) */
.btn-tab-ubicacion.active {
    background-color: var(--color-base); /* Azul oscuro corporativo de la captura */
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(26, 46, 76, 0.15);
}

.btn-tab-ubicacion.active .tab-icon-arrow,
.btn-tab-ubicacion:hover .tab-icon-arrow {
    filter: brightness(100);
    
}

/* Estilo sutil de bordes redondeados al visor de Elementor */
#visor-mapa-proyecto img {
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    object-fit: cover;
    width: 100%;
    height: auto;
}


/***************************************
 *   Responsive Tablet
 **************************************/
@media screen and (max-width:1200px) {
	/*** Blog ***/
	#blog__content h2 { font-size:24px }
	#blog__content h3 { font-size:20px; }
	#blog__content h4 { font-size:17px;  }	
	#blog__content figure.wp-block-pullquote p{ font-size:20px; }
	#blog__content cite { font-size:16px; }	
	#blog__content .wp-block-columns >.wp-block-column { padding:20px 25px; }	
	#blog__content button.wp-block-accordion-heading__toggle { font-size:16px; white-space:wrap; }
	
	/******** Filtros *******/
	.buscador-inmobiliario { margin-bottom:0; }
	#filtro-departamentos-form select { padding:7px 40px 7px 10px; font-size:15px; }
	#filtro-departamentos-form { gap:5px; width:100%; }

    .visor-departamento-izq_wrap {
        width: 100%;
    }
    .panel-listado-der {
        width: 100%;
    }
}



/***************************************
 *   Responsive Mobile
 **************************************/
@media screen and (max-width:768px) {
	a.category-pill { font-size: 16px;  }
	.blog-category-pills { gap:5px; }
}
