/* =====================================================================
   SEFORAA – panggung hero Kontak Pilihan B
   Pasangan: includes/kontak-hero.php + assets/js/seforaa-kontak-hero.js
   Tanpa JS / "kurangi gerakan": tampil dalam keadaan akhir (terjadwal).
   ===================================================================== */
.kh-stage {
  --c1: #6D4AFF; --c2: #B49BFF;
  container-type: inline-size; position: relative; width: 100%; max-width: 600px; aspect-ratio: 100 / 124; margin-inline: auto;
  font-size: clamp(10.5px, 2.4cqw, 14.5px); color: #2B2B2B;
}
.kh-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 184, 190, .35), transparent); filter: blur(10px); }

/* kartu dasar */
.kh-form, .kh-inbox { position: absolute; z-index: 2; padding: 4.2cqw; border-radius: 4.6cqw; background: #fff; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); }
.kh-card-t { display: flex; align-items: center; gap: 2.2cqw; margin: 0 0 3.4cqw; font-size: 1.15em; font-weight: 700; color: #2B2B2B; }
.kh-ic, .kh-ava { flex: none; display: grid; place-items: center; width: 8cqw; height: 8cqw; border-radius: 2.4cqw; color: #fff; background: #69131B; }
.kh-ic svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.kh-ava { border-radius: 50%; font-size: .95em; font-weight: 800; background: linear-gradient(135deg, #C74A56, #69131B); }

/* formulir */
.kh-form { left: 0; top: 0; width: 52%; }
.kh-form label { display: block; margin: 0 0 1.8cqw; padding: 1.6cqw 2.2cqw; border-radius: 2.4cqw; background: #F7F2EF; box-shadow: inset 0 0 0 1px rgba(51, 51, 51, .08); }
.kh-form label span { display: block; font-size: .78em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A7A7C; }
.kh-form label b { display: block; min-height: 1.35em; margin-top: .3em; font-weight: 600; white-space: nowrap; overflow: hidden; }
.kh-type.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #69131B; animation: kh-caret .8s steps(1) infinite; }
@keyframes kh-caret { 50% { opacity: 0; } }
.kh-chip { display: inline-flex; align-items: center; gap: .5em; padding: .25em .8em .25em .35em; border-radius: 999px; font-style: normal; font-size: .9em; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.kh-chip::before { content: ""; width: 1.1em; height: 1.1em; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.kh-send { position: relative; display: block; margin-top: 3.2cqw; padding: 2.6cqw; border-radius: 2.6cqw; overflow: hidden; text-align: center; font-weight: 700; color: #fff; background: #69131B; }
.kh-ripple { position: absolute; left: 50%; top: 50%; width: 20cqw; height: 20cqw; margin: -10cqw 0 0 -10cqw; border-radius: 50%; background: rgba(255, 255, 255, .35); opacity: 0; }

/* jalur + pesawat */
.kh-route { position: absolute; inset: 0; z-index: 4; pointer-events: none; width: 100%; height: 100%; overflow: visible; }
.kh-route path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.kh-route-bg { stroke: rgba(255, 255, 255, .22); stroke-width: 2; stroke-dasharray: 4 7; }
.kh-route-fg { stroke: #F2B8BE; stroke-width: 2.5; }
.kh-plane { fill: #fff; opacity: 0; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .45)); }

/* kotak masuk */
.kh-inbox { right: 0; bottom: 0; width: 54%; z-index: 3; }
.kh-badge { margin-left: auto; display: grid; place-items: center; min-width: 6cqw; height: 6cqw; padding: 0 1.6cqw; border-radius: 999px; font-style: normal; font-size: .8em; font-weight: 800; color: #fff; background: #C74A56; }
.kh-note { margin: 0 0 3cqw; padding: 2.2cqw 2.8cqw; border-radius: 2.4cqw; font-size: .95em; background: #F9EDEE; box-shadow: inset 3px 0 0 #69131B; }
.kh-note b { color: #69131B; }
.kh-cal { display: grid; gap: 1.2cqw; }
.kh-cal-h, .kh-cal-r { display: grid; grid-template-columns: 9cqw repeat(5, 1fr); gap: 1.2cqw; align-items: center; }
.kh-cal-h span { text-align: center; font-size: .78em; font-weight: 700; color: #8A7A7C; }
.kh-cal-r span { font-size: .78em; color: #8A7A7C; font-variant-numeric: tabular-nums; }
.kh-cal-r i { display: block; height: 4.6cqw; border-radius: 1.4cqw; background: #F3EEEC; }
.kh-cal-r i.is-busy { background: repeating-linear-gradient(135deg, #ECE5E3 0 4px, #F6F2F1 4px 8px); }
.kh-cal-r i.is-pick { background: #69131B; box-shadow: 0 0 0 3px rgba(199, 74, 86, .35); }
.kh-ok { display: inline-flex; align-items: center; gap: .5em; margin-top: 3.2cqw; padding: .5em 1em; border-radius: 999px; font-size: .9em; font-weight: 700; color: #15803d; background: #dcfce7; }
.kh-ok svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.kh-form, .kh-inbox, .kh-plane, .kh-cal-r i, .kh-badge, .kh-ok, .kh-chip, .kh-send { will-change: transform; }

/* ponsel: kartu relatif lebih tinggi (ukuran huruf minimum), jadi jalur pesawat lewat DI BELAKANG kartu
   agar tidak menimpa judul kotak masuk; lencana terjadwal tetap satu baris */
@media (max-width: 575px) {
  .kh-route { z-index: 1; }
  .kh-ok { white-space: nowrap; font-size: .92em; padding: .45em .8em; }
  .kh-chip { font-size: .95em; }
}

/* HP: teks ilustrasi minimal ~11px (sebelumnya label 7.5px) */
@media (max-width: 575px) {
  .kh-stage { font-size: 12px; aspect-ratio: 100 / 132; }
  .kh-form label span, .kh-cal-h span, .kh-cal-r span { font-size: .92em; letter-spacing: .03em; }
  .kh-card-t { font-size: 1.05em; }
  .kh-form label { padding: 1.4cqw 2cqw; margin-bottom: 1.4cqw; }
}
