/* /contact — builds on referensi.css (rx-* tokens and components). */
.ct-page { padding-top: 64px; }
.ct-page section[id] { scroll-margin-top: 84px; }
.ct-hero { padding: 64px 0 56px; }
.ct-hero h1 { margin-bottom: 12px; }
.ct-hero > .rx-wrap > * { animation: rx-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.ct-hero > .rx-wrap > *:nth-child(2) { animation-delay: .06s; }
.ct-hero > .rx-wrap > *:nth-child(3) { animation-delay: .12s; }
.ct-hero > .rx-wrap > *:nth-child(4) { animation-delay: .18s; }

.ct-channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.ct-channel { display: flex; flex-direction: column; gap: 2px; padding: 20px; background: white; border: 1px solid #dfe9f5; border-radius: 18px; color: inherit; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.ct-channel:hover { transform: translateY(-4px); border-color: #bcd3ec; box-shadow: 0 20px 40px -24px #0019654d; }
.ct-channel-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 14px; background: var(--rx-tint); color: var(--rx-navy); transition: background-color .25s ease, color .25s ease; }
.ct-channel:hover .ct-channel-icon { background: var(--rx-navy); color: white; }
.ct-channel.is-wa .ct-channel-icon { background: #dcfce7; color: #16a34a; }
.ct-channel.is-wa:hover .ct-channel-icon { background: #16a34a; color: white; }
.ct-channel strong { font-size: 16px; color: var(--rx-ink); }
.ct-channel small { font-size: 13.5px; line-height: 1.5; color: var(--rx-muted); }
.ct-channel em { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--rx-navy); }
.ct-channel.is-wa em { color: #15803d; }
.ct-channel em svg { transition: transform .2s ease; }
.ct-channel:hover em svg { transform: translateX(3px); }

.ct-form-section { padding: 72px 0 88px; background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%); }
.ct-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.ct-side { position: sticky; top: 100px; }
.ct-side h2 { margin: 0 0 12px; font-size: clamp(26px, 2.8vw, 34px); font-weight: 750; letter-spacing: -.03em; color: var(--rx-ink); }
.ct-side > p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #52657b; }
.ct-info { display: grid; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #e5edf6; }
.ct-info > div { display: flex; gap: 12px; align-items: flex-start; }
.ct-info > div > span { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--rx-tint); color: var(--rx-navy); }
.ct-info strong { display: block; font-size: 14.5px; color: var(--rx-ink); }
.ct-info small { display: block; font-size: 13px; color: var(--rx-muted); margin-top: 1px; }
.ct-info a { color: var(--rx-blue); font-weight: 650; }

.ct-form { display: grid; gap: 20px; padding: 28px; background: white; border: 1px solid #dfe9f5; border-radius: 24px; box-shadow: 0 40px 80px -48px #00196559; }
.ct-topics { margin: 0; padding: 0; border: 0; min-width: 0; }
.ct-topics legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--rx-ink); }
.ct-topics > div { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-topics label { cursor: pointer; }
.ct-topics input { position: absolute; opacity: 0; pointer-events: none; }
.ct-topics span { display: inline-block; padding: 8px 14px; border: 1px solid #d6e1ee; border-radius: 999px; background: white; font-size: 13.5px; font-weight: 600; color: #3a5577; transition: all .2s ease; }
.ct-topics input:checked + span { border-color: var(--rx-navy); background: var(--rx-navy); color: white; }
.ct-topics input:focus-visible + span { outline: 3px solid var(--rx-blue); outline-offset: 2px; }
.ct-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-wide { grid-column: 1 / -1; }
.ct-field { display: grid; gap: 6px; align-content: start; }
.ct-field label { font-size: 13px; font-weight: 600; color: var(--rx-ink); }
.ct-field label i { font-style: normal; color: #dc2626; }
.ct-field input, .ct-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #ccdced; border-radius: 12px; background: white; font: inherit; font-size: 15px; color: var(--rx-ink); transition: border-color .2s ease, box-shadow .2s ease; }
.ct-field input:focus, .ct-field textarea:focus { outline: 0; border-color: var(--rx-blue); box-shadow: 0 0 0 4px #4075aa22; }
.ct-err { margin: 0; font-size: 12.5px; color: #dc2626; }
.ct-err.hidden { display: none; }
.ct-field:has(.ct-err:not(.hidden)) input, .ct-field:has(.ct-err:not(.hidden)) textarea { border-color: #f87171; background: #fffafa; }
.ct-submit { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 54px; border: 0; border-radius: 14px; background: #16a34a; color: white; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; box-shadow: 0 12px 28px -12px #16a34aaa; transition: background-color .2s ease, transform .2s ease; }
.ct-submit:hover { background: #15803d; transform: translateY(-2px); }
.ct-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: -6px 0 0; font-size: 12.5px; color: var(--rx-muted); }
.ct-note a { color: var(--rx-blue); font-weight: 600; }

@media (max-width: 1099px) {
    .ct-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .ct-side { position: static; }
}
@media (max-width: 767px) {
    .ct-hero { padding: 40px 0 40px; }
    .ct-channels { grid-template-columns: minmax(0, 1fr); }
    .ct-channel { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 16px; }
    .ct-channel-icon { margin-bottom: 0; }
    .ct-channel strong { flex: 1; }
    .ct-channel small { flex-basis: 100%; }
    .ct-channel em { display: none; }
    .ct-form-section { padding: 48px 0 56px; }
    .ct-form { padding: 20px; }
    .ct-fields { grid-template-columns: minmax(0, 1fr); }
}
