/* =====================================================================
   SEFORAA – panel samping "Kontak" (desktop)
   Pasangan: includes/header.php (#ofc-fact) + assets/js/seforaa-offcanvas.js
   Kartu fakta: tiga angka (dihitung dari data menu.php) + ikon aplikasi.
   ===================================================================== */
.ofc-card {
  border-radius: 14px; padding: 26px 26px 20px;
  background: linear-gradient(135deg, #F9EDEE 0%, #fff 70%);
  border: 1px solid rgba(105, 19, 27, .1);
}
.ofc-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.ofc-stat { padding: 0 18px; border-left: 1px solid rgba(105, 19, 27, .14); }
.ofc-stat:first-child { padding-left: 0; border-left: 0; }
.ofc-stat b {
  display: block; font: 600 44px/1 var(--tp-ff-heading, inherit);
  color: #69131B; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.ofc-stat span { display: block; margin-top: 8px; font-size: 14px; color: #636363; }
.ofc-apps { display: flex; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(105, 19, 27, .12); }
.ofc-app { display: block; line-height: 0; border-radius: 12px; will-change: transform; }
.ofc-app .sm-ico { width: 40px; height: 40px; border-radius: 12px; }
.ofc-note { margin: 16px 0 0; font-size: 13px; color: #8a8a8a; }

/* ikon sosial: rata tengah di dalam lingkaran */
.tp-offcanvas-social ul li a {
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.tp-offcanvas-social ul li a svg { transform: none; }
.tp-offcanvas-social ul li a:hover { color: #fff; border-color: #69131B; background-color: #69131B; }

/* ---------- kartu status & jam layanan ---------- */
#ofc-fact .ofc-card + .ofc-card { margin-top: 14px; }
.ofc-st-top { display: flex; align-items: center; gap: 16px; }
.ofc-dot { position: relative; flex: none; width: 14px; height: 14px; --dc: #9aa3a6; }
.ofc-dot b { position: absolute; inset: 0; border-radius: 50%; background: var(--dc); transition: background .4s; }
.ofc-dot i { position: absolute; inset: 0; border-radius: 50%; background: var(--dc); opacity: 0; transition: background .4s; }
.ofc-card-status.is-open .ofc-dot { --dc: #16A34A; }
.ofc-st-txt { flex: 1; min-width: 0; }
.ofc-st-main { margin: 0; font: 600 24px/1.2 var(--tp-ff-heading, inherit); color: #69131B; }
.ofc-st-sub { margin: 4px 0 0; font-size: 14px; color: #636363; }
.ofc-clock { margin: 0; font: 500 15px/1 var(--tp-ff-heading, inherit); color: #333; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ofc-tl { margin: 22px 0 18px; }
.ofc-tl-bar { position: relative; height: 8px; border-radius: 8px; background: rgba(105, 19, 27, .07); }
.ofc-tl-win, .ofc-tl-done { position: absolute; top: 0; bottom: 0; border-radius: 8px; }
.ofc-tl-win { background: rgba(105, 19, 27, .18); }
.ofc-tl-done { background: linear-gradient(90deg, #C74A56, #69131B); width: 0; }
.ofc-tl-now { position: absolute; top: 50%; width: 0; height: 0; }
.ofc-tl-now em { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #69131B; box-shadow: 0 2px 6px rgba(74, 13, 19, .35); }
.ofc-tl-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: #9aa3a6; font-variant-numeric: tabular-nums; }
.ofc-local { margin: 4px 0 0; font-size: 12.5px; color: #8a8a8a; }
.ofc-local[hidden] { display: none; }
.ofc-card-status:not(.is-open) .ofc-tl-now em { border-color: #9aa3a6; }
.ofc-day { transition: transform .25s; }
.ofc-day:hover { transform: translateY(-3px); }
.ofc-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ofc-day { display: block; padding: 8px 0 7px; text-align: center; border-radius: 10px; background: rgba(105, 19, 27, .06); }
.ofc-day b { display: block; font-size: 13px; font-weight: 600; color: #333; }
.ofc-day small { display: block; margin-top: 2px; font-size: 11px; color: #636363; }
.ofc-day.is-off { background: transparent; border: 1px dashed rgba(105, 19, 27, .18); }
.ofc-day.is-off b, .ofc-day.is-off small { color: #9aa3a6; }
.ofc-day.is-today { background: #69131B; }
.ofc-day.is-today b, .ofc-day.is-today small { color: #fff; }
.ofc-st-cta { margin-top: 18px; }
.ofc-btn { display: inline-block; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #69131B; border: 1px solid rgba(105, 19, 27, .3); transition: background .25s, color .25s; }
.ofc-btn[hidden] { display: none; }
.ofc-btn:hover { background: #69131B; color: #fff; }

/* ---------- kartu peta lokasi (Pilihan B) ---------- */
.ofc-card-peta { padding: 14px 14px 20px; }
.ofc-map { position: relative; height: 190px; border-radius: 10px; overflow: hidden; background: #F3DADD; }
.ofc-map > svg { display: block; width: 100%; height: 100%; }
.ofc-pin { position: absolute; left: 42%; top: 54%; width: 30px; height: 40px; margin: -40px 0 0 -15px; filter: drop-shadow(0 6px 5px rgba(74, 13, 19, .35)); }
.ofc-pin svg { display: block; width: 100%; height: 100%; }
.ofc-ping { position: absolute; left: 42%; top: 54%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #69131B; opacity: 0; }
.ofc-map-tag { position: absolute; right: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; font-size: 11px; color: #636363; background: rgba(255, 255, 255, .85); }
.ofc-peta-info { padding: 16px 12px 0; }
.ofc-peta-title { margin: 0; font: 600 22px/1.2 var(--tp-ff-heading, inherit); color: #69131B; }
.ofc-peta-sub { margin: 4px 0 0; font-size: 14px; color: #636363; }
.ofc-peta-cta { display: flex; gap: 10px; padding: 0 12px; }
button.ofc-btn { background: transparent; cursor: pointer; font-family: inherit; }
.ofc-blk rect { transform-box: fill-box; transform-origin: center; }

/* ---------- sapaan panel ---------- */
.tp-offcanvas-title.ofc-hello { font-size: 46px; line-height: 1.05; font-weight: 700; letter-spacing: -1.4px; margin-bottom: 18px; }
.ofc-hello span { display: inline-block; }
.ofc-hello-a { color: #333; }
.ofc-hello-b {
  font-weight: 800;
  background: linear-gradient(100deg, #4A0D13 0%, #69131B 35%, #C74A56 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
