/* =====================
   CONTENEDOR GENERAL
===================== */
.home-featured {
    background: #f8f8f8;
    /*padding: 120px 6%;*/
}
:root {
    --gold: #d4af37;
    --gold-hover: #b8962e;
    --dark: #111827;
    --dark-soft: #1f2933;
    --gray-text: #4b5563;
    --gray-soft: #6b7280;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #111;
    padding-top: 100px; /*usar este mismo apra los edmas*/
}
/* =====================
   HEADER
===================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 1.05rem;
}

/* =====================
   FILTROS
===================== */
.filter-clear-btn {
display: flex;
align-items: center;
justify-content: center;


padding: 14px 16px;
border-radius: 10px;
border: 1px solid #ddd;


background: #fff;
color: #444;


font-size: .95rem;
font-weight: 600;
text-decoration: none;


cursor: pointer;
transition: all .3s ease;
}


.filter-clear-btn:hover {
background: #f1f1f1;
border-color: #bbb;
}
.property-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 60px;
}

.property-filters select {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: .95rem;
}

.filter-btn {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 10px;

    padding: 14px 16px;   /* ← esto faltaba */
    font-size: .95rem;
    font-weight: 600;

    width: 100%;          /* ← importante para mobile */

    cursor: pointer;
    transition: all .3s ease;
}
.filter-btn:hover {
    background: #d4af37;
    color: #000;
}

/* =====================
   GRID
===================== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
/* =====================
   IMAGEN PROPIEDAD
===================== */

.property-image{
    position: relative;
    overflow: hidden;
}

.property-slider{
    position: relative;
    width: 100%;
    height: 240px;
}

.property-slider img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .35s ease;
}

.property-slider img.active{
    opacity: 1;
}
.slider-dots{
position:absolute;
bottom:10px;
left:50%;
transform:translateX(-50%);
display:flex;
gap:6px;
}

.slider-dot{
width:6px;
height:6px;
border-radius:50%;
background:rgba(255,255,255,.5);
}

.slider-dot.active{
background:#fff;
}
/* =====================
   CARD
===================== */
.property-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    transition: transform .3s ease, box-shadow .3s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,.18);
}

.property-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* =====================
   BODY
===================== */
.property-body {
    padding: 26px;
}

.property-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #111;
}

.property-location {
    font-size: .9rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.property-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 20px;
}.property-actions{
    display:flex;
    gap:10px;
    margin-top:12px;
}

.share-btn{
    border:none;
    background:#f2f2f2;
    padding:10px 16px;
    border-radius:8px;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
}

.share-btn:hover{
    background:#e2e2e2;
}

/* =====================
   META
===================== */
.property-meta {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 24px;
}

.property-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f3f3;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: .9rem;
    color: #333;
}

.meta-icon {
    color: #d4af37;
    font-size: .95rem;
}
.property-meta i,
.property-location i {
    color: #9f7b3f;
    font-size: 16px;
    margin-right: 6px;
}


/* =====================
   BOTÓN
===================== */
.property-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: #111;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all .3s ease;
}

.property-btn:hover {
    background: #d4af37;
    color: #000;
}

.btn-arrow {
    transition: transform .3s ease;
}

.property-btn:hover .btn-arrow {
    transform: translateX(6px);
}

/* ===============================
   PAGINACIÓN – FIX MOBILE
================================ */

/* Contenedor */
.pagination {
    justify-content: center;
    gap: 6px;
}

/* Quitar SVG gigantes */
.pagination svg {
    width: 16px !important;
    height: 16px !important;
}

/* Botones */
.pagination a,
.pagination span {
    font-size: 14px;
    padding: 6px 10px;
}

/* Mobile: más compacto */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
    }

    .pagination a,
    .pagination span {
        font-size: 13px;
        padding: 5px 8px;
    }
}

@media (max-width: 576px) {

    .filter-btn,
    .filter-clear-btn {
        width: 100%;
        text-align: center;
    }

}
/* =====================
   RESPONSIVE
===================== */
@media (max-width: 992px) {
    .home-featured {
        padding: 90px 6%;
    }

    .section-header h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 576px) {
    .home-featured {
        padding: 70px 6%;
    }

    .property-filters {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}