/* =========================================================
   KEŞİF TALEBİ  (_IndexPartialCustom9.cshtml)
========================================================= */
.tg-page-lead {
    max-width: 660px;
}

.kf-section {
    padding: 56px 0 100px;
    background: #fff;
}

.kf-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 408px;
    gap: 32px;
    align-items: start;
}

/* =========================================================
   FORM KARTI
========================================================= */
.kf-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0;
    padding: 45px;
    background: #fff;
    border: 1px solid var(--tg-line);
    border-radius: 20px;
}

.kf-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.kf-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0;
    font-family: var(--tg-display);
    font-size: 20px;
    font-weight: 800;
    line-height: 25px;
    letter-spacing: -0.4px;
    color: var(--tg-ink);
}

.kf-head label {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0;
    font: inherit;
    cursor: default;
}

.kf-no {
    font-family: var(--tg-font);
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0;
    color: var(--tg-blue);
}

.kf-hint {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 17px;
    color: var(--tg-muted);
}

.kf-label {
    margin: 20px 0 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
    color: var(--tg-text);
}

/* ---------- Alanlar ---------- */
.kf-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.kf-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.kf-field > span {
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
    color: var(--tg-text);
}

.kf-field input,
.kf-field textarea {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid var(--tg-line);
    border-radius: 8px;
    background: #FCFDFF;
    font-family: var(--tg-font);
    font-size: 15px;
    line-height: 18px;
    color: var(--tg-text);
    outline: 0;
    transition: border-color .2s ease, background-color .2s ease;
}

.kf-field textarea {
    display: block;
    height: 130px;
    padding: 14px 16px;
    line-height: 24px;
    resize: vertical;
}

.kf-field-notes {
    margin-top: 20px;
}

.kf-field input::placeholder,
.kf-field textarea::placeholder {
    color: var(--tg-subtle);
}

.kf-field input:focus,
.kf-field textarea:focus {
    border-color: var(--tg-navy);
    background: #fff;
}

.kf-field input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
}

.kf-field input[type="date"].bos {
    color: var(--tg-subtle);
}

.kf-field input[type="date"]::-webkit-calendar-picker-indicator {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    opacity: 1;
    cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E") no-repeat center / 18px;
}

.kf-card .invalid {
    border-color: #DC2626 !important;
}

/* ---------- Çözüm çipleri ---------- */
.kf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.kf-chip,
.kf-option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.kf-chip input,
.kf-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kf-chip span,
.kf-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    color: var(--tg-text);
    background: #fff;
    border: 1px solid var(--tg-line);
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.kf-chip span {
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    white-space: nowrap;
}

.kf-chip:hover span,
.kf-option:hover span {
    border-color: var(--tg-geyser);
}

.kf-chip input:checked + span,
.kf-option input:checked + span {
    color: var(--tg-navy);
    background: var(--tg-icon-bg);
    border-color: var(--tg-navy);
}

.kf-chip input:focus-visible + span,
.kf-option input:focus-visible + span {
    outline: 2px solid var(--tg-blue);
    outline-offset: 2px;
}

/* ---------- Tesis tipi ---------- */
.kf-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.kf-option span {
    height: 50px;
    padding: 0 14px;
    border-radius: 8px;
    text-align: center;
}

/* ---------- Onay + gönder ---------- */
.kf-submit-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kf-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: var(--tg-muted);
    cursor: pointer;
}

.kf-consent input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--tg-navy);
}

.kf-consent input.invalid {
    outline: 2px solid #DC2626;
    outline-offset: 1px;
}

.kf-consent p {
    margin: 0;
}

.kf-consent a {
    color: var(--tg-blue);
    text-decoration: underline;
}

.kf-submit {
    width: 100%;
    height: 56px;
    font-size: 16px;
    line-height: 19px;
}

.kf-submit:disabled {
    opacity: .7;
    cursor: default;
}

.kf-status {
    margin: -6px 0 0;
    font-size: 14px;
    line-height: 20px;
}

.kf-status.basarili {
    color: #15803D;
}

.kf-status.hata {
    color: #DC2626;
}

/* =========================================================
   YAN ALAN
========================================================= */
.kf-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kf-steps-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 30px;
    background: var(--tg-soft);
    border-radius: 16px;
}

.kf-steps-title {
    margin: 0;
    font-family: var(--tg-display);
    font-size: 20px;
    font-weight: 800;
    line-height: 25px;
    letter-spacing: -0.4px;
    color: var(--tg-ink);
}

.kf-steps {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kf-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.kf-step-no {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid var(--tg-line);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    color: var(--tg-navy);
}

.kf-step-text {
    flex: 1;
    min-width: 0;
}

.kf-step-title {
    margin: 0;
    font-family: var(--tg-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
    letter-spacing: 0;
    color: var(--tg-ink);
}

.kf-step-desc {
    padding-top: 4px;
    font-size: 14px;
    line-height: 22px;
    color: var(--tg-muted);
}

.kf-step-desc p {
    margin: 0;
}

.kf-phone-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 30px;
    background: linear-gradient(120.93deg, var(--tg-navy) 0%, var(--tg-blue) 100%);
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

.kf-phone-card:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -16px rgba(27, 42, 122, .7);
}

.kf-phone-text {
    font-size: 15px;
    line-height: 18px;
    color: rgba(255, 255, 255, .82);
}

.kf-phone-number {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--tg-display);
    font-size: 24px;
    font-weight: 800;
    line-height: 30px;
    letter-spacing: -0.48px;
    white-space: nowrap;
}

.kf-phone-number svg {
    flex-shrink: 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1199px) {
    .kf-grid {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 24px;
    }

    .kf-card {
        padding: 36px;
    }
}

@media (max-width: 991px) {
    .kf-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .kf-section {
        padding: 32px 0 64px;
    }

    .kf-card {
        gap: 32px;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .kf-fields {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 20px;
    }

    .kf-head {
        font-size: 18px;
        line-height: 23px;
    }

    .kf-chips {
        gap: 8px;
    }

    .kf-chip span {
        height: 40px;
        padding: 0 14px;
        font-size: 14px;
    }

    .kf-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .kf-option span {
        font-size: 14px;
    }

    .kf-steps-card,
    .kf-phone-card {
        padding: 24px;
    }

    .kf-phone-number {
        font-size: 22px;
    }
}
