/* Explain: Styles for UI components like buttons, cards, and badges, supporting new gallery features. */
.site-header {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2rem;
    height: 2px;
    background: var(--accent-color);
    content: "";
}

.property-card {
    background: var(--surface-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, box-shadow 300ms ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 10;
}

.property-badge.renta {
    background: var(--accent-color);
}

.btn-primary-custom {
    background-color: var(--accent-color)!important;
    color: #ffffff!important;
    border: none!important;
    box-shadow: var(--shadow-button)!important;
    transition: all 300ms ease!important;
}

.btn-primary-custom:hover {
    background-color: var(--accent-hover)!important;
    transform: translateY(-2px)!important;
}

.btn-secondary-custom {
    background-color: var(--primary-color)!important;
    color: #ffffff!important;
    border: none!important;
    transition: all 300ms ease!important;
}

.btn-secondary-custom:hover {
    background-color: var(--primary-hover)!important;
}

.search-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    color: white;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: transform 300ms ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--surface-color);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    background: none;
    border: none;
    text-align: left;
}

.faq-content {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
}

.faq-item.active .faq-content {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-icon {
    transition: transform 300ms ease;
    color: var(--accent-color);
}

.property-thumbs .swiper-slide-thumb-active {
    opacity: 1!important;
    border-color: var(--accent-color)!important;
}