/* Halaman Kontak (app/views/contact.php) — tema terang */

.kt-hero { position: relative; overflow: hidden; padding: clamp(112px, 10vw + 64px, 150px) 0 clamp(96px, 8vw, 128px); background: var(--brand-navy); color: var(--text-on-dark); }
.kt-hero::before {
  content: ''; position: absolute; right: -160px; top: -220px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(76,185,234,.28), rgba(76,185,234,0)); pointer-events: none;
}
.kt-hero .container { position: relative; }
.kt-hero .pi-eyebrow { color: var(--brand-sky); }
.kt-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.125rem); max-width: 20ch; margin: 0 0 var(--sp-4); }
.kt-hero p { margin: 0; max-width: 56ch; color: var(--text-on-dark-muted); font-size: 1.0625rem; }

.kt-body { padding: 0 0 var(--section-y); background: var(--surface-muted); }
.kt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--sp-8); align-items: start; margin-top: calc(-1 * clamp(56px, 6vw, 80px)); position: relative; }

/* Kartu formulir */
.kt-formcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 3vw, 40px); scroll-margin-top: 96px; }
.kt-formhead h2 { margin: 0 0 6px; font-size: var(--fs-h3); }
.kt-formhead p { margin: 0 0 var(--sp-6); color: var(--text-subtle); font-size: var(--fs-small); }
.kt-req { color: var(--danger); font-weight: 700; }
.kt-form { display: grid; gap: var(--sp-5); }
.kt-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.kt-form textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.kt-form select:focus { outline: none; border-color: var(--brand-blue); box-shadow: var(--focus-ring); }
.kt-hint { margin: 0; font-size: .8125rem; color: var(--text-subtle); }

.kt-jenis { border: 0; margin: 0; padding: 0; min-width: 0; }
.kt-jenis legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: .9375rem; color: var(--text); }
.kt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kt-chip { position: relative; cursor: pointer; }
.kt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kt-chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text-body); font-size: .875rem; font-weight: 500;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.kt-chip:hover span { border-color: var(--brand-blue); color: var(--brand-blue-strong); }
.kt-chip input:checked + span { background: var(--brand-blue-soft); border-color: var(--brand-blue); color: var(--brand-blue-strong); font-weight: 600; }
.kt-chip input:checked + span::before {
  content: ''; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--brand-blue); box-shadow: 0 0 0 3px rgba(74,112,182,.2);
}
.kt-chip input:focus-visible + span { box-shadow: var(--focus-ring); }

.kt-submitrow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-2); }
.kt-privacy { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: .8125rem; color: var(--text-subtle); }

.kt-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: var(--sp-5); border-radius: var(--r-md); background: #FDECEC; border: 1px solid #F5C2C2; color: var(--danger); font-size: .9375rem; }
.kt-alert .icon { flex: none; margin-top: 2px; }

/* Terkirim */
.kt-done { text-align: center; padding: var(--sp-8) 0; }
.kt-done-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #E7F6EC; color: var(--success); margin-bottom: var(--sp-5); }
.kt-done h2 { margin: 0 0 var(--sp-3); font-size: var(--fs-h3); }
.kt-done p { margin: 0 auto var(--sp-6); max-width: 46ch; color: var(--text-muted); }
.kt-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }

/* Samping */
.kt-side { display: grid; gap: var(--sp-5); }
.kt-wa {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-card);
  background: linear-gradient(135deg, #1FA855, #128C7E); color: #fff; text-decoration: none; box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.kt-wa:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.kt-wa-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.18); flex: none; }
.kt-wa-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.kt-wa-txt strong { font-family: var(--font-display); font-size: 1.0625rem; }
.kt-wa-txt small { font-size: .875rem; opacity: .9; }

.kt-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: var(--sp-6); }
.kt-card h3 { margin: 0 0 var(--sp-5); font-size: 1.0625rem; }

.kt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); position: relative; }
.kt-steps::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--brand-sky-light), var(--border)); }
.kt-steps li { position: relative; display: flex; gap: 14px; }
.kt-steps li > span {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-sky)); color: #fff; font: 800 .8125rem/1 var(--font-display);
  box-shadow: 0 0 0 4px var(--surface);
}
.kt-steps strong { display: block; font-family: var(--font-display); font-size: .9375rem; color: var(--text); margin-bottom: 2px; }
.kt-steps p { margin: 0; font-size: .875rem; color: var(--text-muted); line-height: 1.5; }

.kt-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.kt-info li { display: flex; gap: 12px; align-items: flex-start; }
.kt-info li > .icon { flex: none; margin-top: 3px; color: var(--brand-blue); }
.kt-info li div { min-width: 0; display: grid; gap: 1px; }
.kt-info small { font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-subtle); }
.kt-info a, .kt-info span { font-size: .9375rem; color: var(--text); overflow-wrap: anywhere; }
.kt-info a { color: var(--brand-blue); font-weight: 600; text-decoration: none; }
.kt-info a:hover { text-decoration: underline; }
.kt-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.kt-social a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--r-pill); border: 1px solid var(--border); color: var(--text-body); font-size: .875rem; font-weight: 600; text-decoration: none; }
.kt-social a:hover { border-color: var(--brand-blue); color: var(--brand-blue-strong); }

.kt-est {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--r-card);
  background: var(--brand-blue-soft); border: 1px solid #D3DEF2; color: var(--brand-blue-strong); text-decoration: none;
}
.kt-est > span { flex: 1; display: grid; gap: 2px; }
.kt-est strong { font-family: var(--font-display); font-size: .9375rem; color: var(--text); }
.kt-est small { font-size: .8125rem; color: var(--text-muted); }
.kt-est:hover strong { color: var(--brand-blue-strong); }

@media (max-width: 960px) {
  .kt-grid { grid-template-columns: minmax(0, 1fr); }
  .kt-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kt-wa, .kt-est { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .kt-hero h1 { font-size: 1.875rem; }
  .kt-hero p { font-size: 1rem; }
  .kt-grid { margin-top: -56px; gap: var(--sp-5); }
  .kt-formcard { border-radius: var(--r-card); padding: 20px 16px; }
  .kt-row { grid-template-columns: minmax(0, 1fr); }
  .kt-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; scroll-snap-type: x proximity; }
  .kt-chips::-webkit-scrollbar { display: none; }
  .kt-chip { flex: none; scroll-snap-align: start; }
  .kt-chip span { white-space: nowrap; }
  .kt-submitrow .btn { width: 100%; justify-content: center; }
  .kt-side { grid-template-columns: minmax(0, 1fr); }
  .kt-wa { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .kt-wa, .kt-chip span { transition: none; } }
.kt-body + .footer { margin-top: 0; }
