/* ============================================================================
   public/css/pk-sections.css: home-page sections
   ============================================================================
   Hot deals · Urgent sale · Best investment · Why us
   Loaded after pk.css and before pk-mobile.css (layouts/site.blade.php).

   Each badge section gets its own character, so visitors can tell them apart
   at a glance while scrolling:
     Hot deals       → white page, orange flame, normal property cards
     Urgent sale     → soft red band, wide cards with a WhatsApp button
     Best investment → navy band, cards that lead with the numbers
   ========================================================================== */

/* ── 1. SHARED SECTION HEADER (icon + title + "See all") ─────────────────── */
.pk-band-head {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 28px;
}
.pk-band-icon {
    flex-shrink: 0; display: grid; place-items: center;
    width: 54px; height: 54px; border-radius: 16px; font-size: 1.5rem;
}
.pk-band-text { flex: 1; min-width: 0; }
.pk-band-text h2 { font-size: 1.75rem; font-weight: 700; margin: 0; }
.pk-band-text p { margin: 2px 0 0; color: var(--pk-slate); }
.pk-band-head .pk-see-all { flex-shrink: 0; font-weight: 600; white-space: nowrap; }

.pk-band-icon-hot     { background: #FFF7ED; color: #EA580C; }
.pk-band-icon-urgent  { background: #DC2626; color: #fff; }
.pk-band-icon-invest  { background: rgba(20, 184, 166, .16); color: #5EEAD4; }

/* ── 2. URGENT SALE: soft red band + horizontal "deal" cards ─────────────── */
.pk-urgent { background: #FEF2F2; border-top: 1px solid #FECACA; border-bottom: 1px solid #FECACA; }

.pk-deal {
    display: grid; grid-template-columns: 210px 1fr;
    height: 100%; min-height: 200px;
    background: #fff; border: 1px solid #FECACA; border-radius: 18px; overflow: hidden;
    transition: box-shadow .2s ease;
}
.pk-deal:hover { box-shadow: 0 14px 32px rgba(220, 38, 38, .12); }
.pk-deal-media { position: relative; display: block; background: var(--pk-light); }
.pk-deal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pk-deal-flag {
    position: absolute; top: 10px; left: 10px;
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 50px;
    background: #DC2626; color: #fff; font-size: .75rem; font-weight: 600;
}
.pk-deal-body { display: flex; flex-direction: column; padding: 16px 18px; min-width: 0; }
.pk-deal-location { margin: 0 0 4px; color: var(--pk-slate); font-size: .85rem; }
.pk-deal-location i { color: #DC2626; }
.pk-deal-title { font-size: 1.02rem; font-weight: 600; line-height: 1.4; margin: 0 0 8px; }
.pk-deal-title a { color: var(--pk-navy); }
.pk-deal-title a:hover { color: var(--pk-blue); }
.pk-deal-price { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--pk-navy); }
.pk-deal-price span {
    margin-left: 6px; padding: 2px 8px; border-radius: 6px; vertical-align: middle;
    background: #FEF2F2; color: #B91C1C; font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 600;
}
.pk-deal-meta { list-style: none; padding: 0; margin: 6px 0 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; color: #475569; font-size: .85rem; }
.pk-deal-actions { margin-top: auto; display: flex; align-items: center; gap: 4px; }

/* ── 3. BEST INVESTMENT: navy band + figure-led cards ────────────────────── */
.pk-invest-band { background: var(--pk-navy); }
.pk-band-head-dark h2 { color: #fff; }
.pk-band-head-dark p { color: #94A3B8; }
.pk-band-head-dark .pk-see-all { color: #93C5FD; }

.pk-invest {
    display: flex; flex-direction: column; height: 100%;
    background: #1F2937; border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px; overflow: hidden;
}
.pk-invest-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #0F172A; }
.pk-invest-media img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.pk-invest-type {
    position: absolute; left: 12px; bottom: 12px;
    padding: 4px 10px; border-radius: 6px;
    background: rgba(15, 118, 110, .92); color: #fff; font-size: .75rem; font-weight: 600;
}
.pk-invest-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.pk-invest-title { font-size: 1.05rem; font-weight: 600; line-height: 1.4; margin: 0 0 4px; }
.pk-invest-title a { color: #fff; }
.pk-invest-title a:hover { color: #93C5FD; }
.pk-invest-location { color: #94A3B8; font-size: .85rem; margin: 0; }

.pk-invest-figures {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px;
    margin: 16px 0 18px; padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.pk-invest-figures dt { font-size: .74rem; font-weight: 500; color: #94A3B8; }
.pk-invest-figures dd { margin: 2px 0 0; font-family: 'Poppins', sans-serif; font-size: .92rem; font-weight: 600; color: #fff; white-space: nowrap; }
/* "Total" gets its own full-width row, larger: it's the number investors look at first */
.pk-invest-figures > div:last-child { grid-column: 1 / -1; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .1); }
.pk-invest-figures > div:last-child dd { font-size: 1.15rem; color: #5EEAD4; }
.pk-invest .btn { margin-top: auto; border-radius: 12px; border-color: rgba(255, 255, 255, .3); }

/* ── 4. WHY US: photo collage + reasons ──────────────────────────────────── */
.pk-why-media { position: relative; padding: 0 0 70px; }
.pk-why-main {
    display: block; width: 86%; height: 430px; object-fit: cover;
    border-radius: 24px; box-shadow: 0 24px 50px rgba(17, 24, 39, .14);
    background: var(--pk-light);
}
.pk-why-detail {
    position: absolute; right: 0; bottom: 0;
    width: 50%; height: 230px; object-fit: cover;
    border: 7px solid #fff; border-radius: 20px;
    box-shadow: 0 18px 40px rgba(17, 24, 39, .18);
    background: var(--pk-light);
}
.pk-why-years {
    position: absolute; top: 28px; left: 28px;
    display: flex; flex-direction: column; align-items: center;
    max-width: 130px; padding: 16px 18px; border-radius: 18px;
    background: var(--pk-blue); color: #fff; text-align: center;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .35);
}
.pk-why-years strong { font-family: 'Poppins', sans-serif; font-size: 2.2rem; line-height: 1; }
.pk-why-years span { margin-top: 6px; font-size: .78rem; line-height: 1.3; color: #DBEAFE; }

.pk-pill {
    display: inline-block; padding: 6px 16px; border-radius: 50px;
    background: rgba(37, 99, 235, .08); color: var(--pk-blue);
    font-size: .88rem; font-weight: 600;
}
.pk-why-title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; line-height: 1.22; margin: 16px 0 14px; max-width: 30ch; }
.pk-why-lead { color: var(--pk-slate); font-size: 1.05rem; line-height: 1.7; max-width: 60ch; }

.pk-why-points { list-style: none; padding: 0; margin: 26px 0 0; }
.pk-why-points li { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pk-why-icon {
    flex-shrink: 0; display: grid; place-items: center;
    width: 50px; height: 50px; border-radius: 14px;
    background: rgba(37, 99, 235, .08); color: var(--pk-blue); font-size: 1.3rem;
}
.pk-why-points div > strong { display: block; color: var(--pk-navy); font-family: 'Poppins', sans-serif; font-weight: 600; }
.pk-why-points div > span { display: block; color: var(--pk-slate); font-size: .9rem; }

.pk-why-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.pk-why-actions .btn { border-radius: 14px; }
.pk-why-call { display: flex; align-items: center; gap: 12px; color: var(--pk-navy); }
.pk-why-call-icon {
    display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
    border: 1.5px solid rgba(37, 99, 235, .3); color: var(--pk-blue); font-size: 1.2rem;
}
.pk-why-call small { display: block; color: var(--pk-slate); font-size: .82rem; }
.pk-why-call strong { display: block; font-size: 1.05rem; }

/* ── 5. PHONES & TABLETS ─────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .pk-band-head { gap: 12px; margin-bottom: 18px; }
    .pk-band-icon { width: 44px; height: 44px; border-radius: 13px; font-size: 1.25rem; }
    .pk-band-text h2 { font-size: 1.3rem; }
    .pk-band-text p { font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

    .pk-why-media { padding-bottom: 50px; margin-bottom: 8px; }
    .pk-why-main { width: 88%; height: 280px; border-radius: 20px; }
    .pk-why-detail { width: 52%; height: 150px; border-width: 5px; }
    .pk-why-years { top: 16px; left: 16px; padding: 12px 14px; max-width: 110px; }
    .pk-why-years strong { font-size: 1.7rem; }
    .pk-why-actions .btn { width: 100%; }
}

@media (max-width: 575.98px) {
    /* Urgent cards: smaller photo column, title cut to 2 lines */
    .pk-deal { grid-template-columns: 118px 1fr; min-height: 168px; }
    .pk-deal-body { padding: 12px 14px; }
    .pk-deal-title { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .pk-deal-price { font-size: 1.08rem; }
    .pk-deal-price span { display: none; }
    .pk-deal-meta { margin-bottom: 8px; font-size: .8rem; }
    .pk-deal-flag { font-size: .68rem; padding: 3px 8px; }
}