/* [F0-11] Ana sayfa güven bölümü (includes/_landing_trust.html).
   Ana sayfa custom-theme.css yüklemez; renkler sayfanın kendi --e-* token'larından
   gelir (anasayfa_motion.html :root), ara tonlar color-mix ile türetilir.
   Ölçüler, sayfanın geri kalanı gibi px: kök yazı boyutu masaüstünde 13px,
   mobilde 16px olduğu için rem burada oynar. Açıklama metinleri bilinçli olarak
   15px altına inmez (yaşlı malik okunabilirliği, rapor K02). */

.lt {
    padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 6vw, 80px);
    /* Düz beyaz zemin (kullanıcı tercihi, krem ve açık mavi denendi). Beyaz
       form kartı zeminden kenarlık ve gölgeyle ayrışır. */
    background: var(--e-surface);
}

/* --- Başlık + görsel --- */

.lt__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 24px;
    margin-bottom: 8px;
}

.lt__head-copy {
    max-width: 620px;
    padding-bottom: 18px;
}

.lt__title {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--e-primary);
}

.lt__lead {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    color: var(--e-muted);
}

.lt__art {
    margin: 0 24px -18px 0;
    width: 300px;
}

.lt__art img {
    display: block;
    width: 100%;
    height: auto;
}

/* Bölümün üç ana mesajı: başlığın hemen altında, göz taramasıyla okunur. */
.lt__chips {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lt__chips li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--e-good) 22%, var(--e-border));
    background: var(--e-soft-sage);
    font-size: 15px;
    font-weight: 700;
    color: var(--e-primary);
}

.lt__chips .bi {
    color: var(--e-good);
}

/* --- Kartlar --- */

.lt__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.lt-card,
.lt-call {
    border-radius: var(--e-radius);
    padding: clamp(20px, 2.4vw, 28px);
}

.lt-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--e-surface);
    border: 1px solid var(--e-border);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--e-primary) 6%, transparent);
}

.lt-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lt-card__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 22px;
}

.lt-card--money .lt-card__icon {
    background: color-mix(in srgb, var(--e-good) 14%, var(--e-surface));
    color: var(--e-good);
}

.lt-card--never .lt-card__icon {
    background: color-mix(in srgb, var(--e-accent) 40%, var(--e-surface));
    color: var(--e-primary);
}

.lt-card__title {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--e-primary);
}

.lt-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.lt-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.lt-list__mark {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
}

.lt-card--money .lt-list__mark {
    background: color-mix(in srgb, var(--e-good) 16%, var(--e-surface));
    color: var(--e-good);
}

.lt-card--never .lt-list__mark {
    background: color-mix(in srgb, var(--e-accent) 45%, var(--e-surface));
    color: var(--e-primary);
}

.lt-list b {
    display: block;
    margin-bottom: 2px;
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--e-primary);
}

.lt-list__desc {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    color: var(--e-muted);
}

.lt-card__note {
    margin: auto 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--e-border);
    font-size: 15px;
    line-height: 1.5;
    color: var(--e-text);
}

.lt-card__note a {
    text-underline-offset: 3px;
}

.lt-card__note a,
.lt-consent a,
.lt-done a {
    color: var(--e-primary);
    font-weight: 700;
}

/* --- Sizi arayalım --- */

/* Sol panel lacivert, form beyaz: bölümün tek birincil eylemi bu kutu. */
.lt-call {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    padding: 0;
    overflow: hidden;
    background: var(--e-surface);
    border: 1px solid var(--e-border);
    box-shadow: var(--e-shadow);
}

.lt-call__side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: clamp(24px, 3vw, 40px);
    background: var(--e-primary);
    color: var(--e-surface);
}

.lt-call__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--e-accent);
}

.lt-call__title {
    margin: 0;
    font-size: clamp(22px, 2.2vw, 26px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--e-surface);
}

.lt-call__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: color-mix(in srgb, var(--e-surface) 82%, transparent);
}

.lt-call__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: 15.5px;
    line-height: 1.45;
    color: var(--e-surface);
}

.lt-call__points li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.lt-call__points .bi {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--e-accent);
}

.lt-phone {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--e-surface) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--e-surface) 18%, transparent);
    color: var(--e-surface);
    text-decoration: none;
}

.lt-phone:hover {
    background: color-mix(in srgb, var(--e-surface) 16%, transparent);
}

.lt-phone:focus-visible {
    outline: 2px solid var(--e-accent);
    outline-offset: 2px;
}

.lt-phone__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--e-accent);
    color: var(--e-primary-strong);
    font-size: 19px;
}

.lt-phone__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lt-phone__label {
    font-size: 14.5px;
    color: color-mix(in srgb, var(--e-surface) 78%, transparent);
}

.lt-phone__num {
    font-size: clamp(22px, 2.2vw, 25px);
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.lt-phone__hours {
    margin-top: 2px;
    font-size: 13.5px;
    color: color-mix(in srgb, var(--e-surface) 78%, transparent);
}

.lt-phone__chev {
    margin-left: auto;
    font-size: 18px;
}

.lt-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid color-mix(in srgb, var(--e-surface) 38%, transparent);
    border-radius: 16px;
    color: var(--e-surface);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

/* Yalnız ikon marka yeşili: tanınırlık için; yazı beyaz kalır ki ikincil düğme
   telefon kartıyla yarışmasın. Lacivert üstünde kontrast ≈ 7:1. */
.lt-wa .bi {
    font-size: 19px;
    color: var(--e-whatsapp);
}

.lt-wa:hover {
    background: color-mix(in srgb, var(--e-surface) 10%, transparent);
}

.lt-wa:focus-visible {
    outline: 2px solid var(--e-accent);
    outline-offset: 2px;
}

.lt-call__main {
    padding: clamp(24px, 3vw, 40px);
}

.lt-form__head {
    padding-bottom: 4px;
}

.lt-form__title {
    margin: 0 0 4px;
    font-size: 19px;
    font-weight: 800;
    color: var(--e-primary);
}

.lt-form__hint {
    margin: 0;
    font-size: 15px;
    color: var(--e-muted);
}

.lt-form {
    display: grid;
    gap: 20px;
}

.lt-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.lt-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.lt-field label,
.lt-slots legend {
    font-size: 15px;
    font-weight: 700;
    color: var(--e-primary);
}

.lt-field__control {
    position: relative;
}

.lt-field__icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--e-muted);
    pointer-events: none;
}

.lt-field input {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--e-border);
    border-radius: 12px;
    background: var(--e-surface);
    font: inherit;
    font-size: 16px;
    color: var(--e-text);
}

.lt-field__control input {
    padding-left: 40px;
}

.lt-field input::placeholder {
    color: var(--e-muted);
}

.lt-field input:hover {
    border-color: color-mix(in srgb, var(--e-primary) 35%, var(--e-border));
}

.lt-field input:focus-visible {
    border-color: var(--e-primary);
    outline: 3px solid color-mix(in srgb, var(--e-primary) 18%, transparent);
    outline-offset: 0;
}

.lt-field input[aria-invalid="true"] {
    border-color: currentColor;
}

.lt-field__err {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.4;
}

.lt-slots {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.lt-slots legend {
    float: none;
    width: auto;
    margin-bottom: 8px;
    padding: 0;
}

.lt-slots__opts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.lt-slot {
    position: relative;
    display: block;
    cursor: pointer;
}

.lt-slot input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.lt-slot > span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid var(--e-border);
    border-radius: 12px;
    background: var(--e-surface);
    color: var(--e-primary);
}

.lt-slot .bi {
    flex: 0 0 auto;
    font-size: 20px;
    color: var(--e-muted);
}

.lt-slot__txt {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.lt-slot small {
    margin-top: 2px;
    font-size: 14px;
    font-weight: 500;
    color: var(--e-muted);
}

/* Seçili durum renkle birlikte kalın kenarla da belli olur. */
.lt-slot:hover > span {
    border-color: color-mix(in srgb, var(--e-primary) 35%, var(--e-border));
}

.lt-slot input:checked + span {
    border: 2px solid var(--e-primary);
    background: var(--e-soft-teal);
}

.lt-slot input:checked + span .bi {
    color: var(--e-primary);
}

.lt-slot input:focus-visible + span {
    outline: 2px solid var(--e-primary);
    outline-offset: 2px;
}

.lt-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lt-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.45;
    color: var(--e-text);
}

.lt-consent input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--e-primary);
}

.lt-form__submit {
    width: 100%;
    min-height: 54px;
}

.lt-form__status {
    margin: 0;
    font-size: 15px;
    color: var(--e-muted);
}

.lt-form__status:empty {
    display: none;
}

.lt-done {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 16px;
    background: var(--e-soft-sage);
    margin-top: 8px;
}

.lt-call__main:has(.lt-done:not([hidden])) {
    display: flex;
    align-items: center;
}

.lt-done[hidden] {
    display: none;
}

.lt-done:focus {
    outline: 2px solid var(--e-good);
    outline-offset: 2px;
}

.lt-done__icon {
    font-size: 26px;
    color: var(--e-good);
}

.lt-done__title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    color: var(--e-primary);
}

.lt-done__text {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--e-text);
}

/* --- Duyarlı düzen --- */

@media (max-width: 1000px) {
    .lt-call {
        grid-template-columns: minmax(0, 1fr);
    }

    .lt-phone {
        margin-top: 4px;
    }
}

@media (max-width: 900px) {
    .lt__head {
        grid-template-columns: minmax(0, 1fr);
    }

    .lt__head-copy {
        padding-bottom: 12px;
    }

    /* Mobilde aynı görsel yukarıdaki hikâye panelinde var; lazy img
       display:none iken indirilmez. */
    .lt__art {
        display: none;
    }

    .lt__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .lt-form__row,
    .lt-slots__opts {
        grid-template-columns: minmax(0, 1fr);
    }

    .lt-slot > span {
        min-height: 52px;
    }

    .lt-slot__txt {
        flex-direction: row;
        flex: 1;
        justify-content: space-between;
        align-items: baseline;
        gap: 8px;
    }

    .lt-phone {
        padding: 14px 16px;
    }
}

/* --- Hareket ---
   Sayfanın yolculuk kartlarıyla aynı dil: yumuşak yükselme + rozet "pop"u.
   Giriş animasyonu `translate`/`scale` özelliklerini kullanır, hover ise
   `transform`'u; ayrı özellikler olduğu için birbirini ezmez. .lt--anim'i
   landing_trust.js ekler (JS yoksa içerik gizlenmez). */
@media (prefers-reduced-motion: no-preference) {
    @keyframes lt-rise {
        from { opacity: 0; translate: 0 22px; }
        to { opacity: 1; translate: 0 0; }
    }

    @keyframes lt-pop {
        0% { opacity: 0; scale: 0.4; }
        70% { opacity: 1; scale: 1.12; }
        100% { opacity: 1; scale: 1; }
    }

    .lt--anim .lt__head-copy,
    .lt--anim .lt__art,
    .lt--anim .lt__chips li,
    .lt--anim .lt-card,
    .lt--anim .lt-list__mark,
    .lt--anim .lt-call {
        opacity: 0;
    }

    .lt--anim .lt__head.is-visible .lt__head-copy {
        animation: lt-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .lt--anim .lt__head.is-visible .lt__art {
        animation: lt-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
    }

    /* Etiketler yan yana: taşan "pop" komşusunun üstüne biner, yükselme yeter. */
    .lt--anim .lt__head.is-visible .lt__chips li {
        animation: lt-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .lt--anim .lt__head.is-visible .lt__chips li:nth-child(1) { animation-delay: 0.35s; }
    .lt--anim .lt__head.is-visible .lt__chips li:nth-child(2) { animation-delay: 0.45s; }
    .lt--anim .lt__head.is-visible .lt__chips li:nth-child(3) { animation-delay: 0.55s; }

    .lt--anim .lt-card.is-visible,
    .lt--anim .lt-call.is-visible {
        animation: lt-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .lt--anim .lt-card--never.is-visible {
        animation-delay: 0.12s;
    }

    .lt--anim .lt-card.is-visible .lt-list__mark {
        animation: lt-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    }

    .lt--anim .lt-card.is-visible li:nth-child(1) .lt-list__mark { animation-delay: 0.35s; }
    .lt--anim .lt-card.is-visible li:nth-child(2) .lt-list__mark { animation-delay: 0.45s; }
    .lt--anim .lt-card.is-visible li:nth-child(3) .lt-list__mark { animation-delay: 0.55s; }
    .lt--anim .lt-card.is-visible li:nth-child(4) .lt-list__mark { animation-delay: 0.65s; }

    .lt-card {
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .lt-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--e-shadow);
    }

    .lt-phone__chev {
        transition: transform 0.2s ease;
    }

    .lt-phone:hover .lt-phone__chev {
        transform: translateX(3px);
    }

    .lt-wa {
        transition: background-color 0.2s ease;
    }

    .lt-slot > span {
        transition: border-color 0.2s ease, background-color 0.2s ease;
    }

    .lt-slot input:checked + span .bi {
        animation: lt-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .lt-done:not([hidden]) {
        animation: lt-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
}
