/* ============================================================
   pahang.co — Advertise page parts (views/pages/advertise.php). Prefix rc-.
   Builds on about.css (tk- tokens, hero, numbers, rows, steps, end). File and class names avoid
   "ad"/"banner"/"sponsor" so ad blockers don't hide the page.
   ============================================================ */

/* ── hero phones drawing ── */
.rc-phone { margin: 0; filter: drop-shadow(0 18px 30px rgba(13,43,94,.14)); }
.rc-phone svg { width: 100%; height: auto; display: block; }
.rc-phone rect, .rc-phone path, .rc-phone circle { stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.rc-body { fill: #fff; }
.rc-screen { fill: #f4f8ff; }
.rc-line { fill: none; stroke-width: 2 !important; opacity: .55; }
.rc-url { font: 700 11px 'DM Sans', sans-serif; fill: var(--ink); stroke: none; }
.rc-card { fill: #fff; }
.rc-card.is-gold { fill: #fff7e0; }
.rc-slotbox { fill: #fde68a; stroke-dasharray: 6 5; animation: rc-glow 2.4s ease-in-out infinite; }
.rc-slotbox.s2 { animation-delay: -.8s; } .rc-slotbox.s3 { animation-delay: -1.6s; }
.rc-star { fill: var(--gold); transform-box: fill-box; transform-origin: center; animation: rc-pop 2.8s ease-in-out infinite; }
.rc-ph2 { transform: rotate(6deg); transform-origin: 385px 230px; animation: rc-float 6s ease-in-out infinite; }
.rc-ph1 { animation: rc-float 6s -3s ease-in-out infinite; }
.rc-tap { animation: rc-tap 3.4s ease-in-out infinite; }
.rc-hand { fill: #fff; }
.rc-ripple { fill: rgba(245,158,11,.25); stroke: var(--gold) !important; transform-box: fill-box; transform-origin: center; animation: rc-ripple 3.4s ease-out infinite; }
.rc-arrow { fill: none; stroke: var(--gold-d) !important; stroke-width: 3 !important; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tk-draw 1.4s 1s var(--ease) forwards; }

/* ── slot cards ── */
.rc-group { padding-top: 56px; }
.rc-slots { display: grid; gap: 16px; margin-top: 8px; }
.rc-slot { display: grid; grid-template-columns: 96px 1fr; gap: 14px 16px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 16px;
  transition: transform .25s var(--ease), box-shadow .25s; }
.rc-slot:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 var(--ink); }
.rc-diag { width: 96px; height: 80px; }
.rc-diag rect, .rc-diag path, .rc-diag circle { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.rc-diag circle { fill: var(--ink); stroke: none; }
.rc-diag .rc-frame { fill: #f4f8ff; }
.rc-diag .rc-ghost { fill: #e2e8f0; stroke: none; }
.rc-diag .rc-hl { fill: #fde68a; stroke: var(--gold-d); stroke-dasharray: 4 3; animation: rc-glow 2.4s ease-in-out infinite; }
.rc-slot-t h3 { font: 700 19px/1.25 'Playfair Display', serif; color: var(--ink); }
.rc-size { font-size: 12px; font-weight: 700; color: var(--gold-d); letter-spacing: .5px; margin: 2px 0 6px; }
.rc-slot-t p:last-child { font-size: 14px; line-height: 1.55; }
.rc-price { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px dashed #cdbf9f; padding-top: 12px; }
.rc-price b { font: 900 28px/1 'Playfair Display', serif; color: var(--ink); font-feature-settings: 'lnum' 1; }
.rc-price b.is-ask { font-size: 20px; }
.rc-price span { font-size: 13px; color: #6b6352; margin-right: auto; }
.rc-price b.is-ask { margin-right: auto; }
.rc-price .tk-btn { min-height: 42px; padding: 0 18px; }
.rc-note { font-size: 13px; color: #6b6352; margin-top: 14px; }

/* property band uses the navy district band from about.css */
.rc-propband { margin-top: 64px; }
.rc-k-light { color: #fbbf24 !important; }
.rc-slots.is-dark .rc-slot { border-color: #fff; box-shadow: none; }
.rc-slots.is-dark .rc-slot:hover { box-shadow: 6px 6px 0 var(--gold); }
.rc-slots.is-dark .rc-slot { color: var(--ink-2); }

/* ── featured ── */
.rc-feat2 { display: grid; gap: 18px; margin-top: 8px; }
.rc-fcard { background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 20px 18px; box-shadow: 8px 8px 0 var(--paper-2), 8px 8px 0 2px var(--ink); }
.rc-fhead { display: flex; gap: 14px; align-items: center; }
.rc-fhead svg { flex: none; width: 56px; height: 56px; border: 2px solid var(--ink); border-radius: 16px; background: #fff7e0; padding: 6px; }
.rc-fhead path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.rc-fhead path.rc-spin { fill: var(--gold); transform-box: fill-box; transform-origin: center; animation: rc-pop 3s ease-in-out infinite; }
.rc-fcard h3 { font: 900 22px/1.2 'Playfair Display', serif; color: var(--ink); }
.rc-fhead p { font-size: 13px; color: #6b6352; margin-top: 2px; }
.rc-table { width: 100%; border-collapse: collapse; margin: 16px 0 12px; font-size: 14px; }
.rc-table th, .rc-table td { padding: 10px 8px; border-bottom: 1px dashed #cdbf9f; text-align: center; }
.rc-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #6b6352; }
.rc-table tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.rc-table td { font: 900 22px 'Playfair Display', serif; color: var(--ink); font-feature-settings: 'lnum' 1; }
.rc-fcard > p { font-size: 14px; line-height: 1.6; margin-bottom: 14px; }

@keyframes rc-glow { 50% { fill: #fcd34d; } }
@keyframes rc-pop { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.15) rotate(12deg); } }
@keyframes rc-float { 50% { transform: translateY(-8px); } }
.rc-ph2 { animation-name: rc-float2; }
@keyframes rc-float2 { 0%, 100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-8px); } }
@keyframes rc-tap { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(0, 0); } 50% { transform: translate(-3px, 4px); } 60% { transform: translate(0, 0); } }
@keyframes rc-ripple { 0%, 45% { transform: scale(.3); opacity: 0; } 52% { opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

@media (min-width: 760px) {
  .rc-slots { grid-template-columns: 1fr 1fr; gap: 20px; }
  .rc-slot { grid-template-columns: 120px 1fr; padding: 20px; }
  .rc-diag { width: 120px; height: 100px; }
  .rc-feat2 { grid-template-columns: 1fr 1fr; gap: 26px; }
  .rc-fcard { padding: 26px 26px 24px; }
}
@media (min-width: 1000px) {
  .rc-slots.is-dark { grid-template-columns: repeat(3, 1fr); }
  .rc-slots.is-dark .rc-slot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .rc *, .rc *::before { animation: none !important; transition: none !important; }
  .rc-arrow { stroke-dashoffset: 0 !important; }
}
