
/* ============================================
   URBANOVA CARDS PREMIUM — Junio 2026
   Rediseño completo: limpio, moderno, premium
   ============================================ */

/* Card base premium */
.card-premium {
    background: linear-gradient(145deg, #141414 0%, #1a1a1a 100%);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.card-premium:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 168, 76, 0.1);
}

.card-premium:hover::before {
    opacity: 1;
}

.card-premium .card-icon {
    width: 52px;
    height: 52px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.card-premium:hover .card-icon {
    background: rgba(201, 168, 76, 0.15);
    transform: scale(1.05);
}

.card-premium h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    line-height: 1.3;
}

.card-premium p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-premium .btn-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.card-premium .btn-card:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* Grid premium */
.grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .grid-premium {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-premium {
        padding: 24px;
    }
}

/* Card highlight (destacada) */
.card-premium.card-highlight {
    border-color: rgba(201, 168, 76, 0.2);
    background: linear-gradient(145deg, #1a1a1a 0%, #141414 100%);
}

.card-premium.card-highlight::before {
    opacity: 1;
    height: 4px;
}

/* Card compacta (para listados) */
.card-compact {
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.card-compact:hover {
    border-color: rgba(201, 168, 76, 0.2);
    transform: translateY(-3px);
}

/* Property card premium */
.property-card-premium {
    background: var(--dark-2);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
    border-color: rgba(201, 168, 76, 0.15);
}

.property-card-premium .pc-media {
    position: relative;
    overflow: hidden;
}

.property-card-premium .pc-media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s;
}

.property-card-premium:hover .pc-media img {
    transform: scale(1.08);
}

.property-card-premium .pc-body {
    padding: 24px;
}

.property-card-premium .pc-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.property-card-premium .pc-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.property-card-premium .pc-title a {
    color: var(--text);
    text-decoration: none;
}

.property-card-premium .pc-title a:hover {
    color: var(--gold);
}

.property-card-premium .pc-location {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-card-premium .pc-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.property-card-premium .pc-actions {
    display: flex;
    gap: 8px;
}

.property-card-premium .pc-actions .btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

/* Step card (proceso) */
.step-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--dark-2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.step-card:hover {
    border-color: rgba(201, 168, 76, 0.15);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Legal article (no card) */
.legal-article {
    background: var(--dark-2);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
}

.legal-article h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gold);
}

.legal-article p, .legal-article li {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1) 0%, rgba(201, 168, 76, 0.02) 100%);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Eliminar cards viejas */
.card-old, .card-deprecated, .card-duplicate {
    display: none !important;
}

/* Responsive */
@media (max-width: 640px) {
    .card-premium, .card-compact, .legal-article, .cta-card {
        padding: 20px;
    }

    .step-card {
        flex-direction: column;
        gap: 12px;
    }

    .property-card-premium .pc-media img {
        height: 200px;
    }
}
