/* ==========================================
   LUGARES PAGE — Premium dark layout
   ========================================== */

/* ===== INTRO ===== */
.places-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.places-intro h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.places-intro p {
    color: var(--fv-text-on-dark-body);
    line-height: 1.7;
    font-size: 1rem;
}

/* ===== STATS ROW ===== */
.places-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.places-stats .stat-item {
    text-align: center;
    padding: 28px 20px;
}

/* ===== FILTROS FLIP ===== */
.places-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 48px;
    position: relative;
}

.cat-btn {
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--fv-text-on-dark-body);
    position: relative;
    font-family: inherit;
}

.cat-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.cat-btn.active {
    color: #fff !important;
    border-color: transparent !important;
}

.cat-pill-bg {
    position: absolute;
    background: var(--fv-gradient-brand);
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    transition: left 300ms cubic-bezier(0.16, 1, 0.3, 1),
                top 300ms cubic-bezier(0.16, 1, 0.3, 1),
                width 300ms cubic-bezier(0.16, 1, 0.3, 1),
                height 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-btn span {
    position: relative;
    z-index: 1;
}

/* ===== PLACE ROWS ===== */
.place-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.place-row {
    display: flex;
    gap: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.place-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
    border-color: rgba(255, 255, 255, 0.15);
}

.place-row-img {
    width: 160px;
    min-height: 120px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.place-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.place-row:hover .place-row-img img {
    transform: scale(1.08);
}

.place-row-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.place-row-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.place-row-body .place-location {
    font-size: 0.85rem;
    color: var(--fv-text-on-dark-body);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.place-row-body .place-location .country-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.country-tag.uy {
    background: rgba(0, 163, 224, 0.20);
    color: var(--fv-uy-celeste);
    border: 1px solid rgba(0, 163, 224, 0.30);
}

.country-tag.br {
    background: rgba(0, 156, 59, 0.20);
    color: var(--fv-br-green);
    border: 1px solid rgba(0, 156, 59, 0.30);
}

.place-row-body p {
    font-size: 0.9rem;
    color: var(--fv-text-on-dark-body);
    line-height: 1.5;
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.place-row-body .place-cat-tag {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: var(--fv-text-on-dark-body);
    align-self: flex-start;
}

/* ===== EMPTY STATE ===== */
.places-empty {
    text-align: center;
    padding: 60px 20px;
}

.places-empty .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.places-empty p {
    color: var(--fv-text-on-dark-body);
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .place-row {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }
    .place-row-img {
        width: 100%;
        height: 160px;
    }
    .places-stats {
        grid-template-columns: 1fr;
    }
}
