/* styles.css - Archivo CSS unificado para S4nts Real Estate */

:root {
    --primary: #000000;
    --secondary: #ddb762;
    --accent: #ddb762;
    --light: #f7fafc;
    --dark: #000000;
    --gray: #718096;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #000000;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu.active i::before {
    content: '\f00d';
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.overlay.active {
    display: block;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: #cbd5e0;
}

/* Hero Slider */
.hero-slider {
    height: 90vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    background-color: #000000;
    padding: 40px;
    border-radius: 10px;
    max-width: 700px;
    backdrop-filter: blur(5px);
    margin: 0 20px;
}

.slide-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* ===== FORZAR CENTRALIZACIÓN DEL BOTÓN .btn1 ===== */
.btn1-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 20px auto !important;
    padding: 0 !important;
    flex: 1 0 100% !important;
    text-align: center !important;
}

.btn1 {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: var(--secondary) !important;
    color: #ffffff !important;
    padding: 12px 30px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    min-width: 180px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.btn1:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.btn1::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.6s ease !important;
}

.btn1:hover::before {
    left: 100% !important;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: #ddb762;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-center {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Search Overlay */
.search-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    z-index: 10;
}

.search-form {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.search-title {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary);
}

.search-title h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.search-title p {
    color: var(--gray);
    font-size: 16px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-group {
    flex: 1 0 200px;
    padding: 0 10px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.2);
}



.advanced-search-toggle {
    text-align: center !important;
    margin-top: 20px;
}

.advanced-search-toggle a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.advanced-search-toggle i {
    margin-left: 5px;
    transition: var(--transition);
}

.advanced-search-toggle a:hover i {
    transform: translateY(3px);
}

.advanced-fields {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.advanced-fields.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background-color: white;
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.welcome-text {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.welcome-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.welcome-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.welcome-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.welcome-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.welcome-image img {
    width: 1000px;
    height: auto;
    display: block;
    transition: var(--transition);
}

.welcome-image:hover img {
    transform: scale(1.05);
}

.welcome-text h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.welcome-text h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 0;
}

.welcome-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.welcome-features {
    margin-top: 30px;
}

.welcome-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.welcome-feature.animate {
    opacity: 1;
    transform: translateY(0);
}

.welcome-feature i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 18px;
}

/* Featured Properties */
.featured-properties {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 20px auto 0;
}

/* Properties Grid - Estilos para ambas páginas */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.property-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition);
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.property-badge.rent {
    background-color: var(--accent);
}

.property-badge.sold {
    background-color: var(--gray);
}

.property-details {
    padding: 20px;
}

.property-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.property-address {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-address i {
    color: var(--accent);
}

.property-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-feature i {
    color: var(--accent);
}

.no-properties {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.no-properties i {
    font-size: 64px;
    color: var(--gray);
    margin-bottom: 20px;
}

.no-properties h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}

.no-properties p {
    color: var(--gray);
    margin-bottom: 25px;
}

/* Properties Section - Página de propiedades */
.properties-section {
    padding: 80px 0;
}

.properties-container {
    display: flex;
    gap: 40px;
}

/* Filters Sidebar */
.filters-sidebar {
    flex: 0 0 280px;
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-sidebar h3 {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filters-sidebar h3 i {
    color: var(--accent);
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.filter-group h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group h4 i {
    color: var(--accent);
    font-size: 14px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
}

.filter-option input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.filter-option label {
    cursor: pointer;
    transition: var(--transition);
}

.filter-option label:hover {
    color: var(--primary);
}

.price-range {
    display: flex;
    gap: 15px;
}

.price-range input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.price-range input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.2);
}

.apply-filters {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), #000000);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    margin-top: 10px;
}

.apply-filters:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.reset-filters {
    width: 100%;
    background-color: transparent;
    color: var(--gray);
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
}

.reset-filters:hover {
    background-color: #f7fafc;
    color: var(--dark);
}

/* Properties Content */
.properties-content {
    flex: 1;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.results-count {
    font-size: 16px;
    color: var(--gray);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    font-size: 14px;
    color: var(--gray);
}

.sort-options select {
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    background-color: white;
    cursor: pointer;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.pagination {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background-color: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.pagination a.active, .pagination a:hover {
    background: linear-gradient(135deg, var(--primary), #000000);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.pagination a.next {
    width: auto;
    padding: 0 20px;
    gap: 8px;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(6, 6, 6, 0.8)), url('img/3.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #cbd5e0;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}



.feature-icon i {
    font-size: 32px;
    color: var(--accent);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    color: rgb(0, 0, 0);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: var(--gray);
}


.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e0;
    font-size: 14px;
    position: relative;
    z-index: 3;
}

/* Mobile Search Button */
.mobile-search-toggle {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.mobile-search-toggle:hover {
    transform: scale(1.1);
    background-color: #ddb762;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .properties-container {
        gap: 30px;
    }
    
    .filters-sidebar {
        flex: 0 0 260px;
    }
    
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .search-overlay {
        width: 95%;
    }
    
    .welcome-content {
        flex-direction: column;
    }
    
    .welcome-text, .welcome-image {
        flex: none;
        width: 100%;
    }
    
    .welcome-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .properties-container {
        flex-direction: column;
    }
    
    .filters-sidebar {
        position: static;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--primary);
        transition: var(--transition);
        padding: 80px 20px 20px;
        z-index: 999;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 15px 0;
    }

    .hero-slider {
        height: 100vh;
        min-height: 500px;
    }

    .slide-content {
        padding: 20px;
        margin: 0 15px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    /* MEJORAS PARA EL BUSCADOR EN MÓVIL */
    .search-overlay {
        width: 95%;
        top: 60%;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .search-form {
        padding: 20px;
    }
    
    .form-group {
        flex: 1 0 100%;
    }
    
    .mobile-search-toggle {
        display: flex;
    }
    
    .featured-properties, .why-choose-us, .welcome-section, .stats-section {
        padding: 60px 0;
    }
    
    .welcome-text h2 {
        font-size: 28px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 100vh;
        min-height: 450px;
    }

    .search-overlay {
        top: 55%;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-content h2 {
        font-size: 20px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .featured-properties, .why-choose-us, .welcome-section, .stats-section {
        padding: 40px 0;
    }
    
    .search-title h2 {
        font-size: 22px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .price-range {
        flex-direction: column;
    }
    
    .pagination a {
        width: 40px;
        height: 40px;
    }
    
    .pagination a.next {
        width: auto;
        padding: 0 15px;
    }
}

@media (max-width: 400px) {
    .hero-slider {
        height: 100vh;
        min-height: 400px;
    }
    
    .search-overlay {
        top: 50%;
    }
    
    .search-form {
        padding: 15px;
    }
    
    .slide-content {
        padding: 15px;
    }
}

/* Agregar esto al final del archivo styles.css */

/* Clase para animación de propiedades */
.property-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Asegurar que las propiedades se muestren correctamente */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Animación para las propiedades */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

/* Asegurar que el botón tenga los estilos correctos */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), #ddb762);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}



/* Featured Properties Section - Mobile First */
.featured-properties {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

/* Featured Filters */
.featured-filters {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.filter-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.filter-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 14px;
}

.filter-select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    font-size: 14px;
    transition: var(--transition);
    width: 100%;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    margin-top: 10px;
    width: 100%;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Properties Grid - Mobile First */
.properties-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.property-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-badge:nth-child(1) {
    background: linear-gradient(135deg, #ddb762, #ddb762);
}

.property-badge:nth-child(2) {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.property-badge:nth-child(3) {
    background: linear-gradient(135deg, #f39c12, #d35400);
}

.property-badge:nth-child(4) {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 15px;
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 14px;
}

.action-btn:hover {
    background-color: var(--accent);
    color: white;
    transform: scale(1.1);
}

.action-btn.pulse {
    animation: pulse 0.6s ease;
}

.favorite-btn.active i {
    color: #e74c3c;
}

.property-details {
    padding: 20px;
}

.property-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.property-address {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-address i {
    color: var(--accent);
}

.property-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.property-feature i {
    color: var(--accent);
    width: 16px;
    text-align: center;
}

.property-description {
    margin-bottom: 20px;
}

.property-description p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--dark), var(--primary));
}

.btn-center {
    text-align: center;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
    width: auto;
    display: inline-block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .featured-properties {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .featured-filters {
        flex-direction: row;
        align-items: flex-end;
        gap: 20px;
    }
    
    .filter-group {
        flex: 1;
        min-width: 0;
    }
    
    .btn-outline {
        width: auto;
        margin-top: 0;
        flex-shrink: 0;
    }
    
    .properties-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .property-price {
        font-size: 26px;
    }
    
    .property-features {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .btn {
        width: auto;
        min-width: 140px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .property-image {
        height: 280px;
    }
    
    .property-price {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 36px;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .property-image {
        height: 300px;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .featured-properties {
        padding: 30px 0;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .featured-filters {
        padding: 15px;
    }
    
    .property-image {
        height: 220px;
    }
    
    .property-details {
        padding: 15px;
    }
    
    .property-price {
        font-size: 22px;
    }
    
    .property-address {
        font-size: 14px;
    }
    
    .property-feature {
        font-size: 13px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .btn-large {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Extra Small Mobile Adjustments */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .action-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .property-details {
        padding: 12px;
    }
    
    .property-price {
        font-size: 20px;
    }
}

 /* Botón para subir */
        .scroll-to-top {
            position: fixed;
            bottom: 80px;
            right: 20px;
            width: 50px;
            height: 50px;
            background-color: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            z-index: 999;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
        }
        .scroll-to-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .scroll-to-top:hover {
            background-color: var(--secondary);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }
        /* Botón flotante de WhatsApp */
        .whatsapp-float {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
            z-index: 999;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            animation: pulse 2s infinite;
        }
        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
            background-color: #128C7E;
        }
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }
        /* Property Card Enhancements */
        .property-card {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            opacity: 0;
            transform: translateY(20px);
        }
        .property-card.animate {
            opacity: 1;
            transform: translateY(0);
        }
        .property-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }
        .property-image {
            position: relative;
            height: 250px;
            background-size: cover;
            background-position: center;
            transition: all 0.4s ease;
        }
        .property-card:hover .property-image {
            transform: scale(1.05);
        }
        .property-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
            opacity: 0;
            transition: all 0.3s ease;
            display: flex;
            align-items: flex-end;
            justify-content: flex-end;
            padding: 15px;
        }
        .property-card:hover .property-overlay {
            opacity: 1;
        }
        .property-actions {
            display: flex;
            gap: 10px;
        }
        .action-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        .action-btn:hover {
            background-color: var(--primary);
            color: white;
            transform: scale(1.1);
        }
        .action-btn.pulse {
            animation: pulse 0.6s ease;
        }
        .favorite-btn.active i {
            color: #ddb762;
        }
        .property-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            color: white;
            z-index: 2;
        }
        .property-badge:nth-child(1) {
            background-color: #e74c3c;
        }
        .property-badge:nth-child(2) {
            background-color: #2ecc71;
        }
        .property-badge:nth-child(3) {
            background-color: #f39c12;
        }
        .property-badge:nth-child(4) {
            background-color: #9b59b6;
        }
        .property-details {
            padding: 20px;
            background-color: white;
        }
        .property-price {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 5px;
        }
        .property-address {
            font-size: 16px;
            color: #666;
            margin-bottom: 15px;
        }
        .property-features {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        .property-feature {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 14px;
            color: #666;
        }
        .property-description {
            margin-bottom: 15px;
        }
        .property-description p {
            font-size: 14px;
            color: #777;
            line-height: 1.5;
        }
        /* Responsive para botones flotantes */
        @media (max-width: 768px) {
            .scroll-to-top {
                bottom: 70px;
                right: 15px;
                width: 45px;
                height: 45px;
                font-size: 18px;
            }
            .whatsapp-float {
                width: 55px;
                height: 55px;
                font-size: 24px;
                bottom: 15px;
                right: 15px;
            }
            .property-features {
                flex-direction: column;
                gap: 8px;
            }
        }
        @media (max-width: 576px) {
            .scroll-to-top {
                bottom: 65px;
                right: 10px;
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
            .whatsapp-float {
                width: 50px;
                height: 50px;
                font-size: 22px;
                bottom: 10px;
                right: 10px;
            }
        }






   /* ===== CONTENEDOR PRINCIPAL ===== */
        .properties-container {
            display: flex;
            gap: 30px;
            margin-top: 20px;
        }

        /* ===== BLOQUE DE FILTROS (más a la izquierda) ===== */
        .filters-sidebar {
            width: 300px;
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            margin-left: 0; /* 🔥 Movido más a la izquierda */
        }

        .filters-sidebar h3 {
            font-size: 1.2rem;
            color: #2c3e50;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #ddb762;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .filter-group {
            margin-bottom: 20px;
        }

        .filter-group h4 {
            font-size: 1rem;
            color: #2c3e50;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .form-control {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 0.95rem;
            transition: border-color 0.3s ease;
        }

        .form-control:focus {
            outline: none;
            border-color: #ddb762;
        }

    /* ===== ESTILO BASE (para móviles, se mantiene igual) ===== */
.price-range {
    display: flex;
    gap: 10px;
}

.price-range input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* ===== SOLO EN PANTALLAS DE ESCRITORIO (PC) ===== */
@media (min-width: 769px) {
    .price-range {
        justify-content: center; /* opcional: centrar el rango */
    }

    .price-range input {
        flex: none; /* evita que se expandan */
        width: 120px; /* ancho fijo más compacto */
        padding: 8px;
        font-size: 0.85rem;
        border-radius: 6px;
    }
}

        

        /* ===== FILTROS HORIZONTALES (habitaciones y baños) ===== */
        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }

        .filter-option input[type="checkbox"] {
            margin: 0;
        }

        /* ===== GRID DE PROPIEDADES (3x3) ===== */
        .properties-grid {
            
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 2fr));
            gap: 28px;
            flex-grow: 1;
        }

        /* ===== TARJETA NUEVA ===== */
        .property-card-new {
            background: #ffffff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .property-card-new:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
        }

        .property-card-new .property-image {
            position: relative;
            height: 220px;
            background-size: cover;
            background-position: center;
            border-top-left-radius: 16px;
            border-top-right-radius: 16px;
        }

        .property-card-new .property-badge {
            position: absolute;
            top: 16px;
            left: 16px;
            background: #ddb762;
            color: white;
            font-size: 0.85rem;
            font-weight: 600;
            padding: 6px 12px;
            border-radius: 6px;
            z-index: 2;
        }

        .property-card-new .property-badge.rent {
            background: #ddb762;
        }

        .property-card-new .property-details {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            flex-grow: 1;
        }

        .property-card-new .property-price {
            font-size: 1.4rem;
            font-weight: 700;
            color: #2c3e50;
        }

        .property-card-new .property-address {
            font-size: 0.95rem;
            color: #7f8c8d;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .property-card-new .property-features {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            color: #555;
        }

        .property-card-new .property-feature {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .property-card-new .btn {
            display: inline-block;
            background: #ddb762;
            color: white;
            text-align: center;
            padding: 10px 16px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: background 0.3s ease;
            margin-top: auto;
            width: 100%;
        }

        .property-card-new .btn:hover {
            background: #d5a43b;
        }

        /* ===== RESPONSIVO ===== */
        @media (max-width: 1100px) {
            .properties-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
                gap: 24px;
            }
        }

        @media (max-width: 768px) {
            .properties-container {
                flex-direction: column;
            }

            .filters-sidebar {
                width: 100%;
                margin-left: 0;
            }

            .properties-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 20px;
            }
        }
        .filter-options {
            flex-direction: row !important;
        }
        /* ===== MENSAJE SIN RESULTADOS ===== */
        .no-properties {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            color: #7f8c8d;
        }

        .no-properties i {
            font-size: 3rem;
            margin-bottom: 20px;
            color: #bdc3c7;
        }

        .no-properties h3 {
            font-size: 1.8rem;
            margin-bottom: 12px;
            color: #2c3e50;
        }

        .no-properties .btn {
            margin-top: 20px;
            display: inline-block;
        }





        
        /* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/2.JPG');
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 10s ease;
    transform: scale(1.1);
}

footer:hover .footer-bg {
    transform: scale(1.15);
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.727);
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.footer-column {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.footer-column.animate {
    opacity: 1;
    transform: translateY(0);
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-column p {
    margin-bottom: 15px;
    color: #cbd5e0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}


 /* ===== CONTENEDOR PRINCIPAL ===== */
    .properties-container {
        display: flex;
        gap: 30px;
        margin-top: 20px;
    }
    /* ===== BLOQUE DE FILTROS (más a la izquierda) ===== */
    .filters-sidebar {
        width: 300px;
        background: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        margin-left: 0;
    }
    .filters-sidebar h3 {
        font-size: 1.2rem;
        color: #2c3e50;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #3498db;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .filter-group {
        margin-bottom: 20px;
    }
    .filter-group h4 {
        font-size: 1rem;
        color: #2c3e50;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .form-control {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 0.95rem;
        transition: border-color 0.3s ease;
    }
    .form-control:focus {
        outline: none;
        border-color: #ddb762;
    }
    .price-range {
        display: flex;
        gap: 10px;
    }
    .price-range input {
        flex: 1;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 0.95rem;
    }
    @media (min-width: 769px) {
        .price-range input {
            flex: none;
            width: 120px;
            padding: 8px;
            font-size: 0.85rem;
            border-radius: 6px;
        }
    }
    .filter-options {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }
    .filter-option {
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }
    .filter-option input[type="checkbox"] {
        margin: 0;
    }
    .properties-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 2fr));
        gap: 28px;
        flex-grow: 1;
    }
    .property-card-new {
        background: #ffffff;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .property-card-new:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    }
    .property-card-new .property-image {
        position: relative;
        height: 220px;
        background-size: cover;
        background-position: center;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
    }
    .property-card-new .property-badge {
        position: absolute;
        top: 16px;
        left: 16px;
        background: #ddb762;
        color: white;
        font-size: 0.85rem;
        font-weight: 600;
        padding: 6px 12px;
        border-radius: 6px;
        z-index: 2;
    }
    .property-card-new .property-badge.rent {
        background: #3498db;
    }
    .property-card-new .property-details {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        flex-grow: 1;
    }
    .property-card-new .property-price {
        font-size: 1.4rem;
        font-weight: 700;
        color: #2c3e50;
    }
    .property-card-new .property-address {
        font-size: 0.95rem;
        color: #7f8c8d;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .property-card-new .property-features {
        display: flex;
        justify-content: space-between;
        font-size: 0.9rem;
        color: #555;
    }
    .property-card-new .property-feature {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .property-card-new .btn {
        display: inline-block;
        background: #ddb762;
        color: white;
        text-align: center;
        padding: 10px 16px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        transition: background 0.3s ease;
        margin-top: auto;
        width: 100%;
    }
    .property-card-new .btn:hover {
        background: #eab035;
    }
    @media (max-width: 1100px) {
        .properties-grid {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
        }
    }
    @media (max-width: 768px) {
        .properties-container {
            flex-direction: column;
        }
        .filters-sidebar {
            width: 100%;
            margin-left: 0;
        }
        .properties-grid {
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }
    }
    .filter-options {
        flex-direction: row !important;
    }
    .no-properties {
        grid-column: 1 / -1;
        text-align: center;
        padding: 60px 20px;
        color: #7f8c8d;
    }
    .no-properties i {
        font-size: 3rem;
        margin-bottom: 20px;
        color: #bdc3c7;
    }
    .no-properties h3 {
        font-size: 1.8rem;
        margin-bottom: 12px;
        color: #2c3e50;
    }
    .no-properties .btn {
        margin-top: 20px;
        display: inline-block;
    }

    /* === 🔥 CORRECCIÓN DEL FOOTER: HACERLO VISIBLE POR DEFECTO === */
    .footer-column {
        opacity: 1 !important;
        transform: none !important;
    }




     /* Property Detail */
        .property-detail {
            padding: 100px 0 60px;
            margin-top: 70px;
        }

        .property-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 30px;
        }

        .property-title h1 {
            font-size: 32px;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .property-address {
            color: var(--gray);
            font-size: 18px;
            margin-bottom: 15px;
        }

        .property-price {
            font-size: 28px;
            font-weight: 700;
            color: var(--secondary);
        }

        .property-badge {
            background-color: var(--secondary);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
        }

        .badge-rent {
            background-color: var(--accent);
        }

        /* Property Gallery */
        .property-gallery {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 15px;
            margin-bottom: 40px;
            height: 500px;
        }

        .main-image {
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            position: relative;
            overflow: hidden;
        }

        .image-zoom {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: rgba(255, 255, 255, 0.8);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }

        .image-zoom:hover {
            background-color: white;
            transform: scale(1.1);
        }

        .side-images {
            display: grid;
            grid-template-rows: 1fr 1fr;
            gap: 15px;
        }

        .side-image {
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            cursor: pointer;
            transition: var(--transition);
        }

        .side-image:hover {
            transform: scale(1.02);
        }

        /* Property Content */
        .property-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
        }

        .property-info {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .section-title {
            font-size: 24px;
            color: var(--primary);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--accent);
        }

        .property-description {
            margin-bottom: 30px;
            line-height: 1.8;
        }

        .property-features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .feature-item {
            display: flex;
            align-items: center;
        }

        .feature-icon {
            width: 40px;
            height: 40px;
            background-color: var(--light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: var(--accent);
        }

        .feature-text {
            display: flex;
            flex-direction: column;
        }

        .feature-label {
            font-size: 14px;
            color: var(--gray);
        }

        .feature-value {
            font-weight: 600;
        }

        .amenities-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 10px;
            margin-bottom: 30px;
        }

        .amenity-item {
            display: flex;
            align-items: center;
        }

        .amenity-item i {
            color: var(--accent);
            margin-right: 10px;
        }

        /* Property Sidebar */
        .property-sidebar {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            height: fit-content;
        }

        .agent-info {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e2e8f0;
        }

        .agent-photo {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-size: cover;
            background-position: center;
            margin: 0 auto 15px;
        }

        .agent-name {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .agent-title {
            color: var(--gray);
            margin-bottom: 15px;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 15px;
            border: 1px solid #e2e8f0;
            border-radius: 5px;
            font-family: 'Poppins', sans-serif;
            transition: var(--transition);
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.2);
        }

        .contact-form textarea {
            height: 120px;
            resize: vertical;
        }

        .btn {
            display: inline-block;
            background-color: var(--secondary);
            color: white;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            text-align: center;
            width: 100%;
        }

        .btn:hover {
            background-color: #c53030;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background-color: var(--primary);
            color: white;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .action-buttons .btn {
            flex: 1;
        }

        /* Location Map */
        .location-map {
            margin-top: 60px;
        }

        .map-container {
            height: 400px;
            background-color: #e2e8f0;
            border-radius: 10px;
            overflow: hidden;
            margin-top: 20px;
        }

        .logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin-left: 10px;
}

.logo span {
    color: var(--secondary);
}

.logo img {
    height: 600px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}
