html, body {
    height: auto !important;
    overflow: visible !important;
    overflow-y: auto !important;
}

.kontak-page {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.kontak-header {
    text-align: center;
    margin-bottom: 48px;
}
.kontak-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 16px; background: #ecfdf5; color: #065f46;
    border-radius: 99px; font-size: .75rem; font-weight: 700;
    margin-bottom: 16px; letter-spacing: .02em;
}
.kontak-badge svg { width: 15px; height: 15px; }
.kontak-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800; color: #111827; line-height: 1.2; margin-bottom: 12px;
}
.kontak-sub {
    font-size: .95rem; color: #6b7280; max-width: 480px; margin: 0 auto; line-height: 1.7;
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 860px) { .kontak-grid { grid-template-columns: 1fr; } }

.kontak-info-col { display: flex; flex-direction: column; gap: 16px; }

.kinfo-card {
    background: white; border-radius: 20px;
    border: 1.5px solid #f3f4f6;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    overflow: hidden;
}
.kinfo-header {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 22px 16px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border-bottom: 1px solid #d1fae5;
}
.kinfo-logo {
    width: 60px; height: 60px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.kinfo-logo-fallback {
    width: 56px; height: 56px; background: #dcfce7; border-radius: 14px;
    align-items: center; justify-content: center; color: #10b981;
}
.kinfo-logo-fallback svg { width: 30px; height: 30px; }
.kinfo-school { font-size: .95rem; font-weight: 800; color: #111827; }
.kinfo-school-sub { font-size: .75rem; color: #059669; font-weight: 600; }

.kinfo-list { padding: 10px 0; }
.kinfo-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 13px 22px; transition: background .15s;
}
.kinfo-item:hover { background: #fafafa; }
.kinfo-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.kinfo-icon svg { width: 17px; height: 17px; }
.kinfo-green { background: #ecfdf5; color: #10b981; }
.kinfo-blue  { background: #eff6ff; color: #3b82f6; }
.kinfo-amber { background: #fffbeb; color: #d97706; }
.kinfo-item-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; margin-bottom: 2px; }
.kinfo-item-val   { font-size: .83rem; color: #374151; font-weight: 500; line-height: 1.5; }

.kbk-card {
    background: linear-gradient(135deg, #059669, #047857);
    border-radius: 16px; padding: 18px 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 6px 20px rgba(5,150,105,.25);
}
.kbk-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.3);
    color: white; font-weight: 800; font-size: .85rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kbk-title  { font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .06em; }
.kbk-name   { font-size: .9rem; font-weight: 800; color: white; margin: 2px 0; }
.kbk-desc   { font-size: .72rem; color: rgba(255,255,255,.7); line-height: 1.5; }

.kform-card {
    background: white; border-radius: 20px;
    border: 1.5px solid #f3f4f6;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    overflow: hidden;
}
.kform-header {
    padding: 22px 24px 18px;
    border-bottom: 1px solid #f9fafb;
    background: linear-gradient(135deg, #f9fafb, #f0fdf4);
}
.kform-title { font-size: 1.05rem; font-weight: 800; color: #111827; }
.kform-sub   { font-size: .75rem; color: #9ca3af; margin-top: 3px; }

form#kontakForm { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }

.kform-group { display: flex; flex-direction: column; gap: 5px; }
.kform-label { font-size: .78rem; font-weight: 700; color: #374151; }
.kform-req   { color: #ef4444; }
.kform-input-wrap { position: relative; }
.kform-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; pointer-events: none;
}
.kform-icon svg { width: 16px; height: 16px; color: #9ca3af; transition: color .2s; }
.kform-input {
    width: 100%; padding: 10px 12px 10px 38px;
    border: 1.5px solid #e5e7eb; border-radius: 10px;
    font-family: inherit; font-size: .85rem; color: #111827;
    background: #f9fafb; outline: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.kform-input:focus {
    border-color: #10b981; background: white;
    box-shadow: 0 0 0 3px rgba(16,185,129,.1);
}
.kform-input:focus ~ .kform-icon svg,
.kform-input-wrap:focus-within .kform-icon svg { color: #10b981; }
.kform-input.error { border-color: #ef4444; background: #fef2f2; }
.kform-textarea {
    padding: 10px 12px; resize: vertical; min-height: 100px;
}
.kform-err { font-size: .72rem; color: #ef4444; }
.kform-err.hidden { display: none; }

.kform-anon-wrap {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    padding: 10px 14px; background: #f9fafb; border-radius: 10px;
    border: 1.5px solid #f3f4f6; transition: border-color .2s;
}
.kform-anon-wrap:hover { border-color: #d1fae5; background: #f0fdf4; }
.kform-anon-wrap input { display: none; }
.kform-anon-box {
    width: 18px; height: 18px; border-radius: 5px;
    border: 1.5px solid #d1d5db; background: white; flex-shrink: 0;
    transition: all .15s; display: flex; align-items: center; justify-content: center;
}
.kform-anon-wrap input:checked + .kform-anon-box {
    background: #10b981; border-color: #10b981;
}
.kform-anon-wrap input:checked + .kform-anon-box::after {
    content: '✓'; color: white; font-size: 11px; font-weight: 700;
}
.kform-anon-text { font-size: .8rem; font-weight: 600; color: #374151; }
.kform-anon-hint { font-size: .72rem; color: #9ca3af; font-weight: 400; }

.kform-alert {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; background: #fef2f2; border: 1px solid #fecaca;
    border-radius: 10px; font-size: .78rem; color: #dc2626;
}
.kform-alert svg { width: 16px; height: 16px; flex-shrink: 0; }
.kform-alert.hidden { display: none; }

.kform-btn {
    width: 100%; padding: 12px; border-radius: 12px; border: none; cursor: pointer;
    background: linear-gradient(135deg, #10b981, #047857);
    font-family: inherit; font-size: .9rem; font-weight: 700; color: white;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 6px 20px rgba(16,185,129,.3);
    transition: transform .15s, box-shadow .15s, opacity .15s;
}
.kform-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16,185,129,.4); }
.kform-btn:active { transform: translateY(0); }
.kform-btn-icon { width: 18px; height: 18px; }
.kform-btn.loading { opacity: .8; pointer-events: none; }
.kform-spinner {
    width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4);
    border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite;
}
.kform-btn.loading .kform-btn-text,
.kform-btn.loading .kform-btn-icon { display: none; }
.kform-btn.loading .kform-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.kform-success {
    padding: 48px 24px; text-align: center;
}
.kform-success.hidden { display: none; }
.kform-success-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #047857);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(16,185,129,.3);
    animation: popIn .4s cubic-bezier(.16,1,.3,1) both;
}
.kform-success-icon svg { width: 28px; height: 28px; color: white; }
@keyframes popIn { from { opacity:0; transform:scale(.7); } to { opacity:1; transform:scale(1); } }
.kform-success-title { font-size: 1.1rem; font-weight: 800; color: #111827; margin-bottom: 6px; }
.kform-success-sub   { font-size: .82rem; color: #6b7280; line-height: 1.6; max-width: 280px; margin: 0 auto 20px; }
.kform-success-btn {
    padding: 9px 24px; border-radius: 10px; border: 1.5px solid #10b981;
    background: white; color: #059669; font-family: inherit; font-size: .83rem;
    font-weight: 700; cursor: pointer; transition: background .15s;
}
.kform-success-btn:hover { background: #f0fdf4; }

.kmodal-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #047857);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(16,185,129,.3);
    animation: kPopIn .4s cubic-bezier(.16,1,.3,1) both;
}
.kmodal-icon svg { width: 28px; height: 28px; color: white; }
@keyframes kPopIn { from { opacity:0; transform:scale(.7); } to { opacity:1; transform:scale(1); } }

.kmodal-title {
    font-size: 1.2rem; font-weight: 800; color: #111827; margin-bottom: 8px;
}
.kmodal-sub {
    font-size: .83rem; color: #6b7280; line-height: 1.6; max-width: 280px; margin: 0 auto;
}

.kmodal-btn-primary {
    width: 100%; padding: 11px;
    background: linear-gradient(135deg, #10b981, #047857);
    color: white; font-family: inherit; font-size: .9rem; font-weight: 700;
    border: none; border-radius: 12px; cursor: pointer;
    box-shadow: 0 6px 20px rgba(16,185,129,.3);
    transition: transform .15s, box-shadow .15s;
}
.kmodal-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(16,185,129,.4); }
.kmodal-btn-primary:active { transform: translateY(0); }

.kmodal-btn-secondary {
    width: 100%; padding: 10px;
    background: white; color: #059669;
    font-family: inherit; font-size: .85rem; font-weight: 700;
    border: 1.5px solid #10b981; border-radius: 12px; cursor: pointer;
    transition: background .15s;
}
.kmodal-btn-secondary:hover { background: #f0fdf4; }