/* SerambiCMS — tema default */
:root {
  --primary-color: #0f5c4d;
  --accent-color: #e09a2d;
  --heading-font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --body-font: 'Inter', system-ui, sans-serif;
  --ink: #17212b;
  --muted: #5a6673;
  --line: #e3e7ea;
  --bg: #ffffff;
  --bg-alt: #f5f6f3;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 4px 16px rgba(16, 24, 32, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body-font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--heading-font); line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(26px, 4vw, 38px); }
h2 { font-size: clamp(20px, 2.6vw, 26px); }
h3 { font-size: 17px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Butang */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font: 600 15px/1 var(--body-font); cursor: pointer; text-decoration: none !important; }
.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-accent { background: var(--accent-color); color: #1b1305; }
.btn-outline { background: #fff; color: var(--primary-color); border-color: var(--primary-color); }
.btn-wa { background: #1f8f4e; color: #fff; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--ink); font: 700 18px var(--heading-font); text-decoration: none !important; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-color); color: #fff; display: grid; place-items: center; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 8px; }
.site-nav a:hover { background: var(--bg-alt); text-decoration: none; }
.site-nav .nav-cta { margin-left: 8px; color: #1b1305; }
.nav-toggle, .nav-burger { display: none; }

/* Hero */
.hero { background: var(--primary-color); color: #fff; padding: 64px 0 56px; position: relative; }
.hero-image { background: linear-gradient(rgba(10, 20, 20, .55), rgba(10, 20, 20, .55)), var(--hero-img) center/cover; }
.hero h1 { font-size: clamp(30px, 5vw, 50px); max-width: 760px; }
.hero-sub { font-size: 18px; opacity: .9; max-width: 640px; margin: 0 0 28px; }
.hero-stat { margin: 18px 0 0; opacity: .85; font-size: 15px; }

/* Carian */
.search-box { display: grid; gap: 12px; }
.search-bar { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr auto; align-items: end; }
.search-side { align-self: start; position: sticky; top: 88px; }
.search-side .search-box { background: var(--bg-alt); border-radius: var(--radius); padding: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.field input, .field select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #cdd3d8; border-radius: 9px; font: 15px var(--body-font); color: var(--ink); background: #fff; }
.field input:focus, .field select:focus { outline: 2px solid var(--primary-color); outline-offset: 1px; border-color: transparent; }
.field-submit .btn { width: 100%; }

/* Seksyen */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 600; white-space: nowrap; }
.page-head { background: var(--bg-alt); padding: 32px 0 26px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 4px; }
.page-head p { margin: 0; }

/* Kategori */
.class-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.class-tile { display: flex; flex-direction: column; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.class-tile:hover { border-color: var(--primary-color); box-shadow: var(--shadow); text-decoration: none; }
.class-name { font: 700 17px var(--heading-font); }
.class-count { color: var(--muted); font-size: 14px; }

/* Kad listing */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card-listing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card-listing:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #e9ecee; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.no-photo { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.badge { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 6px; }
.badge-status { left: auto; right: 12px; background: #b3261e; color: #fff; }
.photo-count { position: absolute; bottom: 10px; right: 10px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-price { font: 700 20px var(--heading-font); color: var(--primary-color); }
.card-title { font-size: 16px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a { color: var(--ink); }
.card-loc { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 14px; }
.card-facts { list-style: none; margin: auto 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }

/* Ejen */
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card-agent { display: flex; align-items: center; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.card-agent:hover { border-color: var(--primary-color); text-decoration: none; }
.agent-meta { display: flex; flex-direction: column; font-size: 14px; min-width: 0; }
.agent-meta strong { font-size: 15px; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--primary-color); color: #fff; display: grid; place-items: center; font: 700 20px var(--heading-font); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 96px; height: 96px; font-size: 36px; }
.agent-profile { display: flex; align-items: center; gap: 22px; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.agent-info { margin-top: 28px; max-width: 760px; }

/* Halaman carian */
.search-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 48px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.sort-bar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 18px; font-size: 14px; }
.sort-bar select { min-height: 40px; padding: 6px 10px; border: 1px solid #cdd3d8; border-radius: 8px; font: 14px var(--body-font); }
.empty { text-align: center; padding: 56px 20px; }
.empty-404 { max-width: 900px; }
.empty-404 .search-bar { text-align: left; margin: 24px 0; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.pagination a:hover { border-color: var(--primary-color); text-decoration: none; }
.pagination .current { background: var(--primary-color); border-color: var(--primary-color); color: #fff; font-weight: 600; }

/* Detail listing */
.listing-page { padding-top: 20px; padding-bottom: 20px; }
.breadcrumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.listing-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.listing-head h1 { margin-bottom: 6px; }
.listing-loc { color: var(--muted); margin: 0; }
.listing-price { font: 700 clamp(24px, 3vw, 32px) var(--heading-font); color: var(--primary-color); white-space: nowrap; }
.gallery { margin-bottom: 28px; }
.gallery-main { position: relative; margin: 0; max-height: 560px; width: 100%; background: #111; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-count { position: absolute; bottom: 12px; right: 12px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 6px; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 28px; line-height: 1; cursor: pointer; }
.gallery-nav.prev { left: 12px; } .gallery-nav.next { right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 88px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #ddd; }
.gallery-thumbs button.active { border-color: var(--accent-color); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.listing-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.fact-row { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.fact-row li { background: var(--bg-alt); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.fact-row span { font-size: 13px; color: var(--muted); }
.fact-row strong { font-size: 17px; }
.block { margin-bottom: 32px; }
.prose { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.detail-list .detail-wide { grid-column: 1 / -1; flex-direction: column; gap: 4px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 600; text-align: right; }
.detail-list .detail-wide dd { text-align: left; font-weight: 500; }
.listing-side { position: sticky; top: 88px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.contact-agent { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.related { border-top: 1px solid var(--line); margin-top: 16px; }

/* Footer */
.site-footer { background: #10191f; color: #c9d1d8; padding: 48px 0 24px; margin-top: 24px; font-size: 15px; }
.site-footer a { color: #e7ecef; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-brand { font: 700 20px var(--heading-font); color: #fff; margin-bottom: 8px; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid #26333c; margin-top: 32px; padding-top: 18px; font-size: 14px; color: #9aa6b0; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #1f8f4e; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); z-index: 60; }

/* Responsive */
@media (max-width: 1000px) {
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar .field-q, .search-bar .field-submit { grid-column: 1 / -1; }
  .search-layout { grid-template-columns: 1fr; }
  .search-side { position: static; }
  .listing-body { grid-template-columns: 1fr; }
  .listing-side { position: static; }
}
@media (max-width: 1100px) {
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; }
  .nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav .nav-cta { margin: 8px 0 0; }
  .header-inner { position: relative; }
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; }
  .listing-head { flex-direction: column; gap: 6px; }
}
@media (max-width: 560px) {
  .search-bar { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  .agent-profile { flex-direction: column; align-items: flex-start; }
  .section { padding: 36px 0; }
}
.prose h3 { font-size: 19px; margin: 1.2em 0 .4em; }

/* Submenu (dropdown) */
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > a { padding-right: 4px; }
.sub-toggle { background: none; border: 0; color: var(--ink); cursor: pointer; min-width: 32px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border-radius: 8px; font: 500 15px var(--body-font); }
.sub-toggle.sub-label { padding: 10px 12px; }
.sub-toggle:hover { background: var(--bg-alt); }
.sub-toggle svg { transition: transform .15s; }
.has-sub.open > .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.has-sub.is-current > a, .site-nav a[aria-current="page"] { color: var(--primary-color); font-weight: 600; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; z-index: 60; flex-direction: column; }
.sub a { display: block; padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
@media (min-width: 1101px) {
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: flex; }
}
@media (max-width: 1100px) {
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 6px 12px; padding: 0 0 0 6px; min-width: 0; width: 100%; }
  .has-sub.open > .sub { display: flex; }
  .sub-toggle.sub-label { flex: 1; justify-content: space-between; padding: 10px 12px; }
}
.footer-title a { color: #fff; }

/* Footer (Header & Footer manager) */
.footer-col ul li { display: flex; gap: 8px; align-items: flex-start; }
.footer-col .fi { color: #9aa6b0; margin-top: 3px; flex: none; }
.footer-text p { margin: 0 0 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: #c9d1d8; }
.site-footer .social-links, .social-links { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #1b262e; color: #e7ecef; }
.social-links a:hover { background: var(--primary-color); text-decoration: none; }
.nav-cta svg { flex: none; }

/* ===== Blok kandungan (Pages) ===== */
:root { --dark-color: #1e2a38; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.b-preview-bar { background: #fff4d6; color: #6b4400; text-align: center; padding: 8px; font-size: 14px; font-weight: 600; }
.b-section { padding: 44px 0; }
.b-narrow { max-width: 820px; }
.b-center, .b-align-center { text-align: center; }
.b-align-center .b-narrow, .b-text.b-align-center .container { margin-left: auto; margin-right: auto; }
.b-text h2, .b-video h2, .b-faq h2, .b-form h2, .b-columns h2 { margin-bottom: 16px; }

/* Hero */
.b-hero { position: relative; color: #fff; background: var(--dark-color); padding: 88px 0 48px; }
.b-hero.has-img { background: linear-gradient(90deg, rgba(10, 18, 30, .82) 0%, rgba(10, 18, 30, .45) 60%, rgba(10, 18, 30, .25) 100%), var(--hero-img) center / cover; }
.b-hero-large { padding: 140px 0 72px; }
.b-hero-small { padding: 56px 0 36px; }
.b-hero-inner { display: flex; flex-direction: column; gap: 56px; }
.b-hero-copy { max-width: 600px; }
.b-align-center .b-hero-inner { align-items: center; text-align: center; }
.b-align-center .b-hero-copy { margin: 0 auto; }
.b-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; margin: 0 0 10px; opacity: .9; }
.b-hero h1 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 14px; }
.b-hero-sub { font-size: 17px; opacity: .9; margin: 0 0 26px; }
.b-search { background: rgba(14, 22, 34, .78); backdrop-filter: blur(6px); border-radius: 8px; padding: 0 18px 18px; width: 100%; max-width: 980px; text-align: left; }
.b-tabs { border: 0; margin: 0; padding: 0; display: flex; gap: 4px; }
.b-tabs label { cursor: pointer; }
.b-tabs input { position: absolute; opacity: 0; }
.b-tabs span { display: inline-block; padding: 14px 20px; font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .75); border-bottom: 3px solid transparent; }
.b-tabs input:checked + span { color: #fff; border-bottom-color: var(--accent-color); }
.b-tabs input:focus-visible + span { outline: 2px solid #fff; outline-offset: -4px; }
.b-search-row { display: grid; grid-template-columns: 220px 1fr auto auto; gap: 10px; align-items: center; margin-top: 14px; }
.b-search-row select, .b-search-row input { min-height: 46px; padding: 10px 12px; border: 0; border-radius: 6px; font: 15px var(--body-font); color: var(--ink); background: #fff; width: 100%; }
.b-search-row .btn { min-height: 46px; }
.b-adv { color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }

/* Gambar */
.b-image img { width: 100%; height: auto; border-radius: var(--radius); }
.b-image-full img { border-radius: 0; }
.b-image figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; text-align: center; }

/* CTA */
.b-cta { padding: 64px 0; background: var(--dark-color); }
.b-cta.has-img { background: linear-gradient(rgba(20, 30, 45, .55), rgba(20, 30, 45, .55)), var(--cta-img) center / cover; }
.b-cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.b-cta-box { display: flex; gap: 20px; align-items: center; padding: 28px; background: var(--primary-color); color: #fff; border-radius: var(--radius); text-decoration: none !important; transition: transform .15s; }
a.b-cta-box:hover { transform: translateY(-3px); }
.b-cta-box strong { display: block; font: 600 20px var(--heading-font); margin-bottom: 6px; }
.b-cta-box span span { opacity: .92; font-size: 14px; }
.b-cta-icon { flex: none; width: 72px; height: 72px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; display: grid; place-items: center; }

/* Banner */
.b-banner { color: #fff; padding: 30px 0; }
.b-bg-accent { background: var(--accent-color); color: #1b1305; }
.b-bg-primary { background: var(--primary-color); }
.b-bg-dark { background: var(--dark-color); }
.b-banner-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.b-banner-copy { flex: 1; min-width: 240px; }
.b-banner h2 { margin: 0; font-weight: 600; font-size: clamp(22px, 3vw, 30px); }
.b-banner p { margin: 6px 0 0; opacity: .9; }
.b-btn-light { background: #fff; color: var(--ink); }
.b-btn-light:hover { background: #f1f5f9; }

/* Kelebihan */
.b-features { padding: 60px 0 66px; }
.b-features-dark { background: var(--dark-color); color: #fff; }
.b-features-light { background: var(--bg-alt); }
.b-features h2 { text-align: center; margin-bottom: 36px; }
.b-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.b-features-dark .b-features-grid { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 32px; }
.b-feature { display: flex; gap: 16px; }
.b-feature-icon { flex: none; color: var(--primary-color); }
.b-features-dark .b-feature-icon { color: #fff; opacity: .9; }
.b-feature h3 { font-size: 15px; margin-bottom: 6px; }
.b-feature p { margin: 0; font-size: 14px; color: var(--muted); }
.b-features-dark .b-feature p { color: #c8d0da; }

/* Lajur */
.b-columns-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.b-col img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; }
.b-col h3 { margin-bottom: 8px; }
.b-col h3 a { color: var(--ink); }

/* Video */
.b-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.b-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-caption { text-align: center; margin-top: 10px; font-size: 14px; }

/* FAQ */
.b-faq-list { display: flex; flex-direction: column; gap: 10px; }
.b-faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.b-faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; list-style: none; position: relative; }
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--primary-color); }
.b-faq details[open] summary::after { content: '−'; }
.b-faq details .prose { padding: 0 18px 16px; }

/* Jarak */
.b-spacer-s { height: 16px; } .b-spacer-m { height: 40px; } .b-spacer-l { height: 80px; }
.b-spacer hr { border: 0; border-top: 1px solid var(--line); margin: 0; position: relative; top: 50%; }
.b-spacer { display: flex; align-items: center; }
.b-spacer > .container { width: 100%; }

/* Borang hubungi */
.b-form-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 36px; align-items: start; }
.b-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 18px; }
.b-form-fields .b-full { grid-column: 1 / -1; }
.b-form-fields textarea { width: 100%; min-height: 130px; padding: 10px 12px; border: 1px solid #cdd3d8; border-radius: 9px; font: 15px var(--body-font); resize: vertical; }
.b-form-fields .has-err input, .b-form-fields .has-err textarea { border-color: #b3261e; }
.b-err { color: #b3261e; font-size: 13px; margin: 4px 0 0; }
.b-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.b-alert { padding: 14px 16px; border-radius: 9px; margin-top: 16px; }
.b-alert-ok { background: #e6f5ee; color: #0d5132; }
.b-alert-err { background: #fdeaea; color: #8c1d1d; }
.b-form-info { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; }
.b-form-info ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.b-form-info li { display: flex; gap: 10px; align-items: flex-start; }
.b-form-info svg { color: var(--primary-color); flex: none; margin-top: 2px; }

@media (max-width: 860px) {
  .b-hero { padding: 56px 0 32px; }
  .b-hero-inner { gap: 32px; }
  .b-search-row { grid-template-columns: 1fr; }
  .b-adv { text-align: center; padding: 4px 0; }
  .b-form-grid { grid-template-columns: 1fr; }
  .b-form-fields { grid-template-columns: 1fr; }
}

/* ---- Gaya blok (tab "Gaya" dalam editor) ---- */
.bx { position: relative; }
.bx-bg { background-color: var(--bx-bg); }
.bx-img { background-image: var(--bx-img); background-size: cover; background-position: center; }
.bx-ov::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); pointer-events: none; }
.bx-ov > * { position: relative; }
.bx-fg, .bx-fg h1, .bx-fg h2, .bx-fg h3, .bx-fg h4, .bx-fg p, .bx-fg li, .bx-fg .muted, .bx-fg .prose, .bx-fg figcaption { color: var(--bx-fg); }
.bx-pad-none > .b-section { padding-top: 0; padding-bottom: 0; }
.bx-pad-s > .b-section { padding-top: 20px; padding-bottom: 20px; }
.bx-pad-m > .b-section { padding-top: 44px; padding-bottom: 44px; }
.bx-pad-l > .b-section { padding-top: 88px; padding-bottom: 88px; }
.bx-w-narrow .container { max-width: 760px; }
.bx-w-wide .container { max-width: 1400px; }
.bx-w-full .container { max-width: none; }
.bx-al-left .b-section { text-align: left; }
.bx-al-center .b-section { text-align: center; }
.bx-al-right .b-section { text-align: right; }
@media (max-width: 767px) { .bx-hide-m { display: none !important; } }
@media (min-width: 768px) { .bx-hide-d { display: none !important; } }

/* ---- Seksyen lajur ---- */
.bs-grid { display: grid; gap: var(--bs-gap, 28px); align-items: start; }
.bs-gap-s { --bs-gap: 14px; }
.bs-gap-l { --bs-gap: 56px; }
.bs-va-center { align-items: center; }
.bs-va-end { align-items: end; }
@media (min-width: 768px) {
  .bs-l-1-1 { grid-template-columns: 1fr 1fr; }
  .bs-l-1-2 { grid-template-columns: 1fr 2fr; }
  .bs-l-2-1 { grid-template-columns: 2fr 1fr; }
  .bs-l-1-1-1 { grid-template-columns: repeat(3, 1fr); }
  .bs-l-1-1-1-1 { grid-template-columns: repeat(4, 1fr); }
}
.bs-col { min-width: 0; }
.bs-col .b-section { padding: 0 0 20px; }
.bs-col > :last-child .b-section, .bs-col > .b-section:last-child { padding-bottom: 0; }
.bs-col .container { max-width: none; padding: 0; margin: 0; }
.bs-col .bx-bg > .b-section, .bs-col .bx-img > .b-section { padding: 20px; }
.bs-empty { border: 2px dashed #c4cdd4; border-radius: 10px; padding: 28px 12px; text-align: center; color: #7a8792; font-size: 14px; }
