/* ============================================================
   BuscoParaguay - Estilos Principales
   busco.com.py
   ============================================================ */

/* --- VARIABLES --- */
:root {
    --bp-navy: #0a1628;
    --bp-navy-light: #132240;
    --bp-navy-mid: #1a2d4d;
    --bp-blue: #1e5faa;
    --bp-blue-light: #2b7de9;
    --bp-blue-pale: #e8f0fe;
    --bp-gold: #e8a838;
    --bp-gold-light: #ffd76e;
    --bp-gold-dark: #c48a1e;
    --bp-green: #25D366;
    --bp-green-dark: #128C7E;
    --bp-red: #ef4444;
    --bp-orange: #f59e0b;
    --bp-white: #ffffff;
    --bp-gray-50: #f8fafc;
    --bp-gray-100: #f1f5f9;
    --bp-gray-200: #e2e8f0;
    --bp-gray-300: #cbd5e1;
    --bp-gray-400: #94a3b8;
    --bp-gray-500: #64748b;
    --bp-gray-600: #475569;
    --bp-gray-700: #334155;
    --bp-gray-800: #1e293b;
    --bp-text: #1e293b;
    --bp-text-light: #64748b;
    --bp-radius: 12px;
    --bp-radius-sm: 8px;
    --bp-radius-lg: 16px;
    --bp-shadow: 0 1px 3px rgba(10,22,40,0.08), 0 4px 12px rgba(10,22,40,0.04);
    --bp-shadow-md: 0 4px 16px rgba(10,22,40,0.10), 0 8px 24px rgba(10,22,40,0.06);
    --bp-shadow-lg: 0 8px 32px rgba(10,22,40,0.12);
    --bp-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* --- RESET / BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    color: var(--bp-text);
    background: var(--bp-gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

a { color: var(--bp-blue); text-decoration: none; transition: color var(--bp-transition); }
a:hover { color: var(--bp-blue-light); }

img { max-width: 100%; height: auto; }

/* --- TIPOGRAFÍA --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--bp-navy); }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.text-gold { color: var(--bp-gold) !important; }
.text-navy { color: var(--bp-navy) !important; }
.text-muted-custom { color: var(--bp-text-light); }

/* --- NAVBAR --- */
.bp-navbar {
    background: var(--bp-navy);
    padding: 0;
    box-shadow: 0 2px 20px rgba(10,22,40,0.3);
    position: sticky;
    top: 0;
    z-index: 1050;
}
.bp-navbar .navbar-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--bp-white) !important;
    letter-spacing: -0.02em;
    padding: 0.75rem 0;
}
.bp-navbar .navbar-brand span { color: var(--bp-gold); }
.bp-navbar .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    padding: 1rem 0.85rem !important;
    font-size: 0.9rem;
    transition: color var(--bp-transition);
    position: relative;
}
.bp-navbar .nav-link:hover,
.bp-navbar .nav-link.active {
    color: var(--bp-gold) !important;
}
.bp-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.85rem;
    right: 0.85rem;
    height: 3px;
    background: var(--bp-gold);
    border-radius: 3px 3px 0 0;
}
.bp-navbar .btn-publicar {
    background: var(--bp-gold);
    color: var(--bp-navy) !important;
    font-weight: 700;
    border: none;
    border-radius: var(--bp-radius-sm);
    padding: 0.5rem 1.25rem !important;
    font-size: 0.9rem;
    transition: all var(--bp-transition);
}
.bp-navbar .btn-publicar:hover {
    background: var(--bp-gold-light);
    transform: translateY(-1px);
}
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.35rem 0.65rem;
}
.navbar-toggler-icon { filter: invert(1); }

/* --- HERO --- */
.bp-hero {
    background: linear-gradient(135deg, var(--bp-navy) 0%, var(--bp-navy-mid) 50%, var(--bp-blue) 100%);
    color: var(--bp-white);
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(3.5rem, 10vw, 6rem);
    position: relative;
    overflow: hidden;
}
.bp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,168,56,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.bp-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30,95,170,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.bp-hero h1 {
    color: var(--bp-white);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
}
.bp-hero h1 span { color: var(--bp-gold); }
.bp-hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.85;
    max-width: 600px;
}

/* --- BUSCADOR HERO --- */
.bp-search-box {
    background: var(--bp-white);
    border-radius: var(--bp-radius-lg);
    padding: 1.25rem;
    box-shadow: var(--bp-shadow-lg);
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}
.bp-search-box .form-control,
.bp-search-box .form-select {
    border: 2px solid var(--bp-gray-200);
    border-radius: var(--bp-radius-sm);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: border-color var(--bp-transition);
}
.bp-search-box .form-control:focus,
.bp-search-box .form-select:focus {
    border-color: var(--bp-blue);
    box-shadow: 0 0 0 3px rgba(30,95,170,0.15);
}
.bp-search-box .btn-buscar {
    background: var(--bp-blue);
    color: var(--bp-white);
    border: none;
    border-radius: var(--bp-radius-sm);
    padding: 0.65rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--bp-transition);
    white-space: nowrap;
}
.bp-search-box .btn-buscar:hover {
    background: var(--bp-blue-light);
    transform: translateY(-1px);
}

/* --- SECCIÓN STATS --- */
.bp-stats {
    background: var(--bp-white);
    border-top: 3px solid var(--bp-gold);
    margin-top: -1.5rem;
    position: relative;
    z-index: 3;
    border-radius: var(--bp-radius-lg);
    box-shadow: var(--bp-shadow);
    padding: 1.5rem;
}
.bp-stat-item { text-align: center; padding: 0.5rem; }
.bp-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--bp-navy);
    line-height: 1;
}
.bp-stat-label { font-size: 0.85rem; color: var(--bp-text-light); margin-top: 0.25rem; }

/* --- TARJETA DE PEDIDO --- */
.bp-card {
    background: var(--bp-white);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
    overflow: hidden;
    transition: all var(--bp-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bp-gray-100);
}
.bp-card:hover {
    box-shadow: var(--bp-shadow-md);
    transform: translateY(-4px);
}
.bp-card.destacado {
    border: 2px solid var(--bp-gold);
    position: relative;
}
.bp-card.destacado::before {
    content: '⭐ Destacado';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--bp-gold);
    color: var(--bp-navy);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    z-index: 5;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.bp-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bp-blue-pale) 0%, var(--bp-gray-100) 100%);
}
.bp-card-img i {
    font-size: 3.5rem;
    color: var(--bp-blue);
    opacity: 0.4;
}
.bp-card-img .bp-category-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--bp-navy);
    color: var(--bp-white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bp-card-img .bp-operacion-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bp-badge-alquiler { background: var(--bp-blue); color: var(--bp-white); }
.bp-badge-compra { background: var(--bp-green); color: var(--bp-white); }
.bp-badge-alquiler-temporario { background: var(--bp-orange); color: var(--bp-navy); }

.bp-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bp-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--bp-navy);
    line-height: 1.3;
}
.bp-card-title a { color: inherit; }
.bp-card-title a:hover { color: var(--bp-blue); }

.bp-card-location {
    font-size: 0.85rem;
    color: var(--bp-text-light);
    margin-bottom: 0.75rem;
}
.bp-card-location i { color: var(--bp-blue); margin-right: 0.25rem; }

.bp-card-price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--bp-navy);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}
.bp-card-price small { font-weight: 400; color: var(--bp-text-light); font-size: 0.8rem; display: block; }

.bp-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--bp-text-light);
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.bp-card-meta span i { margin-right: 0.2rem; }

.bp-card-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--bp-gray-100);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
}
.bp-card-user {
    font-size: 0.82rem;
    color: var(--bp-text-light);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    width: 100%;
}
.bp-card-user .bp-card-username {
    font-weight: 600;
    color: var(--bp-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}
.bp-card-user .badge-verificado {
    color: var(--bp-blue);
    font-size: 0.75rem;
}
.bp-card-footer .btn-whatsapp-full {
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: var(--bp-radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: all var(--bp-transition);
    text-decoration: none;
    width: 100%;
}
.bp-card-footer .btn-whatsapp-full:hover {
    background: #128C7E;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,211,102,0.35);
}

/* --- SECCIONES --- */
.bp-section {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.bp-section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}
.bp-section-subtitle {
    color: var(--bp-text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* --- CATEGORÍAS GRID --- */
.bp-cat-card {
    background: var(--bp-white);
    border-radius: var(--bp-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--bp-transition);
    border: 1px solid var(--bp-gray-100);
    text-decoration: none;
    display: block;
}
.bp-cat-card:hover {
    border-color: var(--bp-blue);
    box-shadow: var(--bp-shadow-md);
    transform: translateY(-4px);
}
.bp-cat-card i {
    font-size: 2.2rem;
    color: var(--bp-blue);
    margin-bottom: 0.75rem;
    display: block;
}
.bp-cat-card .cat-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bp-navy);
    display: block;
    margin-bottom: 0.25rem;
}
.bp-cat-card .cat-count {
    font-size: 0.8rem;
    color: var(--bp-text-light);
}

/* --- CIUDADES --- */
.bp-city-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--bp-white);
    border: 1px solid var(--bp-gray-200);
    border-radius: 25px;
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--bp-text);
    text-decoration: none;
    transition: all var(--bp-transition);
}
.bp-city-tag:hover {
    border-color: var(--bp-blue);
    color: var(--bp-blue);
    background: var(--bp-blue-pale);
}
.bp-city-tag .count {
    background: var(--bp-gray-100);
    color: var(--bp-text-light);
    font-size: 0.75rem;
    padding: 0.1rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
}

/* --- PLANES --- */
.bp-plan-card {
    background: var(--bp-white);
    border-radius: var(--bp-radius-lg);
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--bp-gray-200);
    transition: all var(--bp-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.bp-plan-card:hover { box-shadow: var(--bp-shadow-md); }
.bp-plan-card.popular {
    border-color: var(--bp-gold);
    position: relative;
}
.bp-plan-card.popular::before {
    content: 'Más popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bp-gold);
    color: var(--bp-navy);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.bp-plan-card.estateclub { border-color: var(--bp-blue); }
.bp-plan-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.bp-plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--bp-navy); }
.bp-plan-price small { font-size: 0.9rem; font-weight: 400; color: var(--bp-text-light); }
.bp-plan-features { list-style: none; padding: 1.5rem 0; text-align: left; flex: 1; }
.bp-plan-features li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--bp-gray-600);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.bp-plan-features li i.fa-check { color: var(--bp-green); font-size: 0.8rem; margin-top: 0.2rem; }
.bp-plan-features li i.fa-xmark { color: var(--bp-gray-300); font-size: 0.8rem; margin-top: 0.2rem; }

/* --- DETALLE PEDIDO --- */
.bp-detail-hero {
    background: linear-gradient(135deg, var(--bp-navy) 0%, var(--bp-navy-mid) 100%);
    color: var(--bp-white);
    padding: 3rem 0 4rem;
}
.bp-detail-hero h1 { color: var(--bp-white); }
.bp-detail-hero .breadcrumb a { color: var(--bp-gold); }
.bp-detail-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.bp-detail-hero .breadcrumb-item.active { color: rgba(255,255,255,0.7); }

.bp-detail-card {
    background: var(--bp-white);
    border-radius: var(--bp-radius-lg);
    box-shadow: var(--bp-shadow-md);
    margin-top: -2rem;
    overflow: hidden;
}
.bp-detail-main { padding: 2rem; }
.bp-detail-sidebar {
    background: var(--bp-gray-50);
    padding: 2rem;
    border-left: 1px solid var(--bp-gray-100);
}

.bp-price-display {
    background: linear-gradient(135deg, var(--bp-navy) 0%, var(--bp-navy-mid) 100%);
    border-radius: var(--bp-radius);
    padding: 1.5rem;
    color: var(--bp-white);
    text-align: center;
    margin-bottom: 1.5rem;
}
.bp-price-display .price-main { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; }
.bp-price-display .price-alt { font-size: 0.9rem; opacity: 0.7; margin-top: 0.25rem; }

.bp-contact-card {
    background: var(--bp-white);
    border-radius: var(--bp-radius);
    padding: 1.5rem;
    border: 1px solid var(--bp-gray-200);
}
.bp-contact-card .user-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bp-navy);
}
.bp-contact-card .user-type {
    font-size: 0.8rem;
    color: var(--bp-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- BOTONES --- */
.btn-bp-primary {
    background: var(--bp-blue);
    color: var(--bp-white);
    border: none;
    border-radius: var(--bp-radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    transition: all var(--bp-transition);
}
.btn-bp-primary:hover { background: var(--bp-blue-light); color: var(--bp-white); transform: translateY(-1px); }

.btn-bp-gold {
    background: var(--bp-gold);
    color: var(--bp-navy);
    border: none;
    border-radius: var(--bp-radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    transition: all var(--bp-transition);
}
.btn-bp-gold:hover { background: var(--bp-gold-light); color: var(--bp-navy); transform: translateY(-1px); }

.btn-bp-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: var(--bp-radius-sm);
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--bp-transition);
    font-size: 1rem;
}
.btn-bp-whatsapp:hover { background: #128C7E; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,211,102,0.35); }

.btn-bp-outline {
    background: transparent;
    color: var(--bp-blue);
    border: 2px solid var(--bp-blue);
    border-radius: var(--bp-radius-sm);
    padding: 0.55rem 1.5rem;
    font-weight: 600;
    transition: all var(--bp-transition);
}
.btn-bp-outline:hover { background: var(--bp-blue); color: var(--bp-white); }

.btn-bp-share {
    background: var(--bp-gray-100);
    color: var(--bp-text);
    border: none;
    border-radius: var(--bp-radius-sm);
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all var(--bp-transition);
}
.btn-bp-share:hover { background: var(--bp-gray-200); }

/* --- SHARE BUTTONS (sidebar) --- */
.bp-share-buttons {
    display: flex;
    gap: 0.5rem;
}
.bp-share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.5rem;
    border-radius: var(--bp-radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--bp-transition);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.bp-share-btn i { font-size: 1.05rem; }
.bp-share-btn span { font-size: 0.8rem; }
.bp-share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.bp-share-wa { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: #fff; }
.bp-share-wa:hover { color: #fff; }
.bp-share-fb { background: linear-gradient(135deg, #1877f2 0%, #0a54c0 100%); color: #fff; }
.bp-share-fb:hover { color: #fff; }
.bp-share-copy { background: linear-gradient(135deg, #e8a838 0%, #c48a1e 100%); color: var(--bp-navy); }
.bp-share-copy:hover { color: var(--bp-navy); }

/* --- FOOTER --- */
.bp-footer {
    background: var(--bp-navy);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}
.bp-footer h5 {
    color: var(--bp-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.bp-footer a { color: rgba(255,255,255,0.6); transition: color var(--bp-transition); }
.bp-footer a:hover { color: var(--bp-gold); }
.bp-footer ul { list-style: none; padding: 0; }
.bp-footer ul li { margin-bottom: 0.5rem; }
.bp-footer ul li a { font-size: 0.9rem; }
.bp-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--bp-white);
    margin-right: 0.5rem;
    font-size: 1rem;
    transition: all var(--bp-transition);
}
.bp-footer .social-links a:hover { background: var(--bp-gold); color: var(--bp-navy); }
.bp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.85rem;
}

/* --- FORMULARIOS --- */
.bp-form-group { margin-bottom: 1.25rem; }
.bp-form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bp-navy);
    margin-bottom: 0.35rem;
    display: block;
}
.bp-form-control {
    border: 2px solid var(--bp-gray-200);
    border-radius: var(--bp-radius-sm);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: border-color var(--bp-transition), box-shadow var(--bp-transition);
    width: 100%;
}
.bp-form-control:focus {
    border-color: var(--bp-blue);
    box-shadow: 0 0 0 3px rgba(30,95,170,0.12);
    outline: none;
}

/* --- PANEL USUARIO --- */
.bp-dashboard-nav {
    background: var(--bp-white);
    border-radius: var(--bp-radius);
    box-shadow: var(--bp-shadow);
    overflow: hidden;
}
.bp-dashboard-nav .nav-link {
    padding: 0.85rem 1.25rem;
    color: var(--bp-text);
    font-weight: 500;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--bp-transition);
}
.bp-dashboard-nav .nav-link:hover { background: var(--bp-gray-50); color: var(--bp-blue); }
.bp-dashboard-nav .nav-link.active {
    background: var(--bp-blue-pale);
    color: var(--bp-blue);
    border-left-color: var(--bp-blue);
    font-weight: 600;
}
.bp-dashboard-nav .nav-link i { width: 18px; text-align: center; }

/* --- BADGES --- */
.bp-badge-plan {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.bp-badge-gratuito { background: var(--bp-gray-200); color: var(--bp-gray-600); }
.bp-badge-profesional { background: var(--bp-blue-pale); color: var(--bp-blue); }
.bp-badge-destacado { background: var(--bp-gold); color: var(--bp-navy); }
.bp-badge-estateclub {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4d 100%);
    color: var(--bp-gold);
    border: 1px solid var(--bp-gold);
}

/* --- ESTATECLUB VERIFIED BADGE --- */
.bp-ec-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4d 100%);
    color: var(--bp-gold);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem 0.2rem 0.45rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: 1px solid rgba(232,168,56,0.4);
    text-decoration: none;
    transition: all var(--bp-transition);
    white-space: nowrap;
}
.bp-ec-badge i {
    font-size: 0.6rem;
}
.bp-ec-badge:hover {
    border-color: var(--bp-gold);
    color: var(--bp-gold-light);
    box-shadow: 0 0 12px rgba(232,168,56,0.25);
    transform: translateY(-1px);
}

/* Verified shield icon for EstateClub in cards/detail */
.bp-verified-ec {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bp-gold) 0%, #c48a1e 100%);
    color: var(--bp-navy);
    font-size: 0.55rem;
    box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(232,168,56,0.4);
    flex-shrink: 0;
}

/* Premium contact card for EstateClub users */
.bp-contact-card-ec {
    background: linear-gradient(160deg, #0a1628 0%, #132240 60%, #1a2d4d 100%);
    border-radius: var(--bp-radius);
    padding: 1.5rem;
    border: 1px solid rgba(232,168,56,0.25);
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}
.bp-contact-card-ec::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(232,168,56,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.bp-contact-card-ec .user-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}
.bp-contact-card-ec .user-type {
    font-size: 0.75rem;
    color: var(--bp-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.bp-contact-card-ec a { color: var(--bp-gold); }
.bp-contact-card-ec a:hover { color: var(--bp-gold-light); }
.bp-contact-card-ec .ec-perfil-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(232,168,56,0.1);
    border: 1px solid rgba(232,168,56,0.3);
    border-radius: var(--bp-radius-sm);
    padding: 0.6rem 0.85rem;
    color: var(--bp-gold);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all var(--bp-transition);
    margin-top: 0.75rem;
}
.bp-contact-card-ec .ec-perfil-link:hover {
    background: rgba(232,168,56,0.2);
    border-color: var(--bp-gold);
    transform: translateY(-1px);
}
.bp-contact-card-ec .ec-perfil-link i {
    font-size: 1rem;
}

.bp-badge-estado { font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 20px; text-transform: uppercase; }
.bp-badge-activo { background: #dcfce7; color: var(--bp-green-dark); }
.bp-badge-vencido { background: #fef2f2; color: var(--bp-red); }
.bp-badge-pausado { background: #fef9c3; color: #a16207; }

/* --- PWA BANNER --- */
.bp-pwa-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bp-navy);
    color: var(--bp-white);
    padding: 1rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.bp-pwa-banner.show { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.bp-pwa-banner p { margin: 0; font-size: 0.9rem; }
.bp-pwa-banner .btn-instalar { background: var(--bp-gold); color: var(--bp-navy); border: none; border-radius: var(--bp-radius-sm); padding: 0.45rem 1.2rem; font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.bp-pwa-banner .btn-cerrar { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 1.2rem; cursor: pointer; padding: 0.25rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .bp-search-box { padding: 1rem; }
    .bp-search-box .row > div { margin-bottom: 0.5rem; }
    .bp-card-img { height: 140px; }
    .bp-detail-sidebar { border-left: none; border-top: 1px solid var(--bp-gray-100); }
    .bp-hero { padding: 2rem 0 3rem; }
    .bp-stats { margin: 0 1rem; margin-top: -1rem; }
    .bp-footer { text-align: center; }
}


/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease-out forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* --- LOADING SKELETON --- */
.skeleton { background: linear-gradient(90deg, var(--bp-gray-100) 25%, var(--bp-gray-200) 50%, var(--bp-gray-100) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--bp-radius-sm); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
