/* Estilos personalizados premium sobre Bootstrap 5 para RegioServicios 2026 */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333333;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

/* Animaciones simples */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Inmobiliaria Hero & Search */
.inmo-hero {
    background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 59, 103, 0.7); /* Azul marino translúcido (Color Logo) */
    z-index: 1;
}

#rotating-text {
    transition: opacity 0.4s ease-in-out;
    color: #8cc63f; /* Verde Hoja del Logo */
}

.search-container {
    max-width: 850px;
    z-index: 10;
    position: relative;
}

.search-tabs {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px;
    border-radius: 50px;
    display: inline-flex !important;
    width: auto;
}

.tab-btn {
    border: none;
    background: transparent;
    color: #ffffff;
    padding: 8px 24px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #8cc63f;
}

.tab-btn.active {
    background-color: #103b67; /* Azul Marino del Logo */
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(16, 59, 103, 0.3);
}

.search-form {
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-search {
    background-color: #103b67; /* Azul Marino del Logo */
    border: none;
    transition: background-color 0.3s ease;
}

.btn-search:hover {
    background-color: #0a2542;
}

/* Bordes divisorios responsivos para el formulario */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #e9ecef !important;
    }
}

/* Sección Guía de Búsqueda (Paleta Logo) */
.guide-section {
    background-color: #f4f8fc; /* Azul muy claro de soporte (del arco del logo) */
    color: #103b67;
}

.guide-title {
    font-size: 2.2rem;
    color: #103b67; /* Azul Marino */
    letter-spacing: -0.5px;
}

.guide-card {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    border: 2px solid #ffffff;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    background-color: #ffffff;
}

.guide-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(16, 59, 103, 0.15) !important;
    border-color: #8cc63f; /* Resaltado verde al pasar el mouse */
}

.guide-card:hover img {
    transform: scale(1.08);
}

.guide-text {
    font-size: 0.95rem;
    color: #103b67; /* Azul Marino */
    max-width: 180px;
    margin: 0 auto;
    line-height: 1.3;
}

/* Utilidades */
.text-navy {
    color: #103b67 !important;
}
.text-accent {
    color: #8cc63f !important;
}
.fs-7 {
    font-size: 0.825rem !important;
}

/* Badges de Transacción (Estilo Soft Premium) */
.bg-badge-navy {
    background-color: rgba(16, 59, 103, 0.12) !important;
    color: #103b67 !important;
    border: 1px solid rgba(16, 59, 103, 0.2);
    backdrop-filter: blur(4px);
}
.bg-badge-green {
    background-color: rgba(140, 198, 63, 0.18) !important;
    color: #5d8c24 !important;
    border: 1px solid rgba(140, 198, 63, 0.3);
    backdrop-filter: blur(4px);
}

.property-card .badge {
    padding: 6px 14px;
    font-size: 0.75rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

/* Filtros por Municipio (Pill Badges Modernos) */
.filter-badge {
    border: 1px solid #d0dfed;
    background-color: #f0f4f8;
    color: #103b67;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 50px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.filter-badge:hover {
    background-color: #e2ecf5;
    border-color: #103b67;
    color: #103b67;
    transform: translateY(-2px);
}

.filter-badge.active {
    background-color: #dbe9f6;
    border-color: #103b67;
    color: #103b67;
    box-shadow: 0 4px 12px rgba(16, 59, 103, 0.1);
}

.filter-badge.active .badge {
    background-color: #103b67 !important;
    color: #ffffff !important;
}

.filter-badge.active:hover {
    color: #103b67;
    transform: translateY(-2px);
}


/* Tarjetas de Propiedades */
.property-item-col {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.property-card {
    border-radius: 16px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(16, 59, 103, 0.1) !important;
}

.property-img {
    transition: transform 0.5s ease;
}

.property-card:hover .property-img {
    transform: scale(1.05);
}

.property-card .card-title {
    font-size: 1.15rem;
    line-height: 1.4;
}

/* Barra de Filtros Rápidos (Buscador Superior) */
.quick-filter-group {
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.quick-filter-group:focus-within {
    border-color: #103b67;
    box-shadow: 0 0 0 0.2rem rgba(16, 59, 103, 0.1);
}

.quick-filter-input {
    border: none !important;
    box-shadow: none !important;
    padding: 10px 15px;
    font-size: 0.95rem;
}

.quick-filter-select {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    padding: 10px 15px !important;
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: #ffffff;
}

.quick-filter-select:focus {
    border-color: #103b67 !important;
    box-shadow: 0 0 0 0.2rem rgba(16, 59, 103, 0.1) !important;
}

.quick-filter-select:hover {
    border-color: #103b67 !important;
    background-color: #f8f9fa;
}

/* Deslizador de Precio Personalizado (Slicer) */
.custom-range::-webkit-slider-thumb {
    background-color: #8cc63f !important; /* Verde del logo */
    box-shadow: 0 0 0 1px #ffffff, 0 4px 10px rgba(16, 59, 103, 0.2) !important;
}
.custom-range::-moz-range-thumb {
    background-color: #8cc63f !important;
    box-shadow: 0 0 0 1px #ffffff, 0 4px 10px rgba(16, 59, 103, 0.2) !important;
}
.custom-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 0.25rem rgba(140, 198, 63, 0.25) !important;
}
.custom-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 0.25rem rgba(140, 198, 63, 0.25) !important;
}
.custom-range {
    height: 6px;
    background-color: #e9ecef;
    border-radius: 5px;
}

/* Efectos de Hover con Acento del Logo */
.hover-accent {
    transition: color 0.2s ease-in-out;
}

.hover-accent:hover {
    color: #8cc63f !important; /* Verde del logo */
}

/* Grids de Imágenes Dinámicas para Detalles */
.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    height: 400px;
}
.grid-1 .main-img-cell {
    height: 400px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 350px;
}
.grid-2 .main-img-cell {
    height: 350px;
}
.grid-2 .small-img-cell {
    height: 350px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 180px 180px;
    gap: 10px;
}
.grid-3 .main-img-cell {
    grid-row: span 2;
    height: 370px;
}
.grid-3 .small-img-cell {
    height: 180px;
}

.grid-4 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 370px;
    gap: 10px;
}
.grid-4 .main-img-cell {
    height: 370px;
}
.grid-4 .small-img-cell {
    height: 370px;
}

.grid-5 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 180px 180px;
    gap: 10px;
}








