/* ===============================
   CONTENEDOR GENERAL
================================ */
.rfpb-detail {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #111;
}

/* ===============================
   HEADER PREMIUM
================================ */
.rfpb-header-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.rfpb-budget-card {
    background: #fff;
    padding: 36px;
   
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.rfpb-budget-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
}

.rfpb-title {
    font-size: 34px;
    margin: 10px 0 30px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.rfpb-tag {
    font-size: 14px;
    background: #eee;
    padding: 4px 10px;
    
}

.rfpb-budget-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.rfpb-budget-list li {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.rfpb-budget-list .check {
    color: #111;
    font-weight: 700;
}

.rfpb-budget-list small {
    display: block;
    color: #666;
    font-size: 13px;
}

.rfpb-budget-total {
    display: flex;
    justify-content: space-between;
    background: #f7f7f7;
    padding: 16px 20px;
    
    font-weight: 700;
    font-size: 18px;
}

.rfpb-image-premium img {
    width: 100%;
    height: auto;
}

/* ===============================
   DESGLOSE
================================ */
.rfpb-breakdown-premium {
    margin-top: 40px;
}

.rfpb-breakdown-premium h3 {
    font-size: 30px;
    margin-bottom: 30px;
}

/* GRID DE CARDS */
.rfpb-breakdown-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* CARD */
.rfpb-card {
    background: #fff;
    
    padding: 32px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.rfpb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.10);
}

.rfpb-card img {
    width: 190px;
    object-fit: contain;
    
    
    padding: 12px;
    margin-bottom: 18px;
}

.rfpb-card h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

/* ITEMS */
.rfpb-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rfpb-line {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
}

.rfpb-line span:last-child {
    font-weight: 600;
}

/* SUBTOTAL */
.rfpb-subtotal {
    margin-top: 16px;
    padding: 14px 16px;
    background: #f6f6f6;
    
    display: flex;
    justify-content: space-between;
    font-weight: 700;
}

/* ===============================
   GAMAS
================================ */
.rfpb-gamas-premium {
    margin-top: 80px;
    background: linear-gradient(135deg, #0e0e0e, #1c1c1c);
    color: #fff;
    padding: 48px;
    
}

.rfpb-gamas-premium h3 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 24px;
}

.rfpb-gama-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 16px;
}

.rfpb-gama-row strong {
    font-weight: 700;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .rfpb-header-premium {
        grid-template-columns: 1fr;
    }

    .rfpb-breakdown-cards {
        grid-template-columns: 1fr;
    }
}
