/* Konsultasi page — reuses .gh tokens from home.css. Single font, brand red only. */
.gk-page { padding: 140px 0 clamp(4rem, 8vw, 6.5rem); }
.gk-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

/* Intro column */
.gk-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--gh-muted);
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color .2s ease;
}
.gk-back:hover, .gk-back:focus-visible { color: var(--gh-ink); }
.gk-back i { transition: transform .2s ease; }
.gk-back:hover i { transform: translateX(-3px); }

.gk-intro .gh-eyebrow { margin-bottom: 1rem; }
.gk-title {
    font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0 0 1.25rem;
    max-width: 16ch;
}
.gk-lede { font-size: 1.0625rem; line-height: 1.65; margin: 0 0 2.75rem; max-width: 44ch; }

.gk-subhead {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--gh-ink);
    letter-spacing: 0;
    margin: 0 0 1rem;
}
.gk-next { list-style: none; margin: 0 0 2.75rem; padding: 0; border-top: 1px solid var(--gh-line); }
.gk-next li {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: .75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gh-line);
}
.gk-next .gh-index { padding-top: .15rem; }
.gk-next p { margin: 0; line-height: 1.6; font-size: .9375rem; }

.gk-direct-list { list-style: none; margin: 0; padding: 0; }
.gk-direct-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 0;
    border-bottom: 1px dashed var(--gh-line);
    font-size: .9375rem;
}
.gk-direct-list li > span:first-child { color: var(--gh-muted); }
.gk-direct-list a,
.gk-direct-value { color: var(--gh-ink); font-weight: 600; text-decoration: none; text-align: right; }
.gk-direct-list a:hover, .gk-direct-list a:focus-visible { color: var(--gh-red); }

/* Form column */
.gk-form-wrap {
    background: #fff;
    border: 1px solid var(--gh-line);
    border-radius: 4px;
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.gk-fieldset { border: 0; margin: 0 0 2rem; padding: 0; min-width: 0; }
.gk-fieldset:last-of-type { margin-bottom: .5rem; }
.gk-fieldset legend {
    float: none;
    width: 100%;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--gh-muted);
    letter-spacing: .01em;
    padding: 0 0 .75rem;
    margin: 0 0 1.25rem;
    border-bottom: 1px solid var(--gh-line);
}
.gk-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.gk-field { margin-bottom: 1.25rem; }
.gk-field label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--gh-ink);
    margin-bottom: .45rem;
}
.gk-req { color: var(--gh-red); }
.gk-opt { font-weight: 500; color: var(--gh-muted); margin-left: .25rem; }

.gk-input {
    display: block;
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--gh-ink);
    background: #fff;
    border: 1px solid #d6d3cc;
    border-radius: 4px;
    padding: .7rem .85rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea.gk-input { resize: vertical; min-height: 9rem; line-height: 1.6; }
.gk-input::placeholder { color: #a3a6ad; }
.gk-input:hover { border-color: #b9b5ad; }
.gk-input:focus {
    outline: none;
    border-color: var(--gh-ink);
    box-shadow: 0 0 0 3px rgba(22, 24, 29, .08);
}
.gk-input.is-invalid { border-color: var(--gh-red); }
.gk-input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(230, 50, 35, .12); }

.gk-error { margin: .4rem 0 0; font-size: .875rem; color: #b42318; }
.gk-hint { margin: .45rem 0 0; font-size: .875rem; color: var(--gh-muted); line-height: 1.5; }

.gk-submit { padding-top: .5rem; }
.gk-submit .btn-gi { width: 100%; }
.gk-submit .btn-gi:disabled { opacity: .7; cursor: progress; }
.gk-submit .gk-hint { margin-top: .85rem; }

/* Notices */
.gk-notice {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: .75rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1.75rem;
    border: 1px solid;
    border-radius: 4px;
    font-size: .9375rem;
}
.gk-notice i { font-size: 1.25rem; line-height: 1.3; }
.gk-notice strong { display: block; color: inherit; margin-bottom: .2rem; }
.gk-notice p { margin: 0; line-height: 1.55; }
.gk-notice ul { margin: .25rem 0 0; padding-left: 1.1rem; }
.gk-notice-success { background: #f2f8f3; border-color: #b9dcc1; color: #1f5f32; }
.gk-notice-error { background: #fdf3f2; border-color: #f1c2bd; color: #8f1d14; }

@media (max-width: 991.98px) {
    .gk-page { padding-top: 115px; }
    .gk-grid { grid-template-columns: 1fr; }
    .gk-back { margin-bottom: 1.75rem; }
    .gk-lede, .gk-next { margin-bottom: 2rem; }
    /* Form first on mobile would hide context; keep intro short instead. */
    .gk-direct { order: 3; }
}
@media (max-width: 575.98px) {
    .gk-row { grid-template-columns: 1fr; }
    .gk-form-wrap { padding: 1.25rem 1rem; }
    .gk-direct-list li { flex-direction: column; gap: .15rem; }
    .gk-direct-list a, .gk-direct-value { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .gk-back i, .gk-input { transition: none; }
}
