/* ==========================================================================
   LIVRA — İletişim & Proje briefi (template-iletisim.php)
   Önek: lct-  |  Derin mavi bilgi alanı + beyaz form kartı, çip seçimleri, canlı gönderim durumu.
   ========================================================================== */

.lct {
    --c-ink: #121212;
    --c-blue: #1e3a5f;
    --c-paper: #f5f5f5;
    --c-mute: rgba(18, 18, 18, .58);
    --c-line: rgba(18, 18, 18, .12);
    color: var(--c-ink);
    background: var(--c-paper);
}

.lct-hero {
    padding: clamp(150px, 13vw, 190px) 0 clamp(80px, 8vw, 120px);
    background:
        radial-gradient(ellipse at 0% 0%, rgba(77, 163, 255, .22), transparent 45%),
        radial-gradient(ellipse at 100% 100%, rgba(159, 208, 255, .12), transparent 50%),
        linear-gradient(170deg, #0f2440 0%, var(--c-blue) 100%);
}

.lct-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(30px, 5vw, 80px);
    align-items: start;
}

/* ---------------------------------------------------------------- BİLGİ */
.lct-info {
    color: #fff;
}

.lct-info .sv-crumb {
    color: #fff !important;
}

.lct-info h1 {
    margin-top: 22px;
    color: #fff !important;
    font-size: clamp(38px, 4.6vw, 68px);
    font-weight: 700;
    line-height: 1.02;
}

.lct-info h1 span {
    color: #9fd0ff;
}

.lct-lead {
    max-width: 520px;
    margin-top: 20px !important;
    color: rgba(255, 255, 255, .72);
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.65;
}

.lct-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
}

.lct-card {
    position: relative;
    display: flex;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    color: #fff !important;
    background: rgba(255, 255, 255, .06);
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

a.lct-card:hover {
    border-color: rgba(159, 208, 255, .5);
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}

.lct-card i {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: var(--c-blue);
    background: #9fd0ff;
    font: 700 18px/1 Poppins, sans-serif;
    font-style: normal;
}

.lct-card span {
    min-width: 0;
}

.lct-card small {
    display: block;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
}

.lct-card b {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    font: 600 14.5px/1.3 Poppins, sans-serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lct-card__tip {
    position: absolute;
    top: -10px;
    right: 12px;
    padding: 5px 9px;
    border-radius: 8px;
    color: var(--c-blue);
    background: #fff;
    font: 700 11px/1 Montserrat, sans-serif;
    font-style: normal;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.lct-card.is-copied .lct-card__tip {
    opacity: 1;
    transform: none;
}

.lct .lct-next {
    display: grid;
    gap: 14px;
    margin-top: 40px !important;
    padding-top: 28px !important;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.lct .lct-next li {
    display: flex;
    gap: 16px;
    align-items: baseline;
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
}

.lct-next b {
    color: #9fd0ff;
    font: 600 12px/1 var(--sv-mono);
}

/* ---------------------------------------------------------------- FORM */
.lct-form-wrap {
    position: relative;
    padding: clamp(24px, 3vw, 42px);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 50px 100px rgba(5, 15, 30, .28);
}

.lct-form[hidden],
.lct-success[hidden] {
    display: none !important;
}

.lct-form {
    display: grid;
    gap: 20px;
    margin: 0;
}

.lct-package {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    align-items: center;
    justify-content: space-between;
    border-radius: 14px;
    color: var(--c-blue);
    background: #eef5ff;
    font-size: 14px;
}

.lct-package b {
    font-family: Poppins, sans-serif;
}

.lct-field {
    margin: 0;
    padding: 0;
    border: 0;
}

.lct-field legend,
.lct-input > span {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    color: var(--c-ink);
    font: 600 13.5px/1.3 Poppins, sans-serif;
}

.lct-field legend small {
    color: var(--c-mute);
    font: 500 12px/1 Montserrat, sans-serif;
}

.lct-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lct-chip {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.lct-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lct-chip span {
    display: inline-flex;
    min-height: 40px;
    padding: 0 15px;
    align-items: center;
    border: 1.5px solid var(--c-line);
    border-radius: 999px;
    color: var(--c-ink);
    background: #fff;
    font: 600 13px/1 Montserrat, sans-serif;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.lct-chip:hover span {
    border-color: var(--c-blue);
}

.lct-chip input:checked + span {
    border-color: var(--c-blue);
    color: #fff;
    background: var(--c-blue);
}

.lct-chip input:checked + span::before {
    content: '✓';
    margin-right: 6px;
    font-weight: 800;
}

.lct-chip input:focus-visible + span {
    outline: 3px solid #4da3ff;
    outline-offset: 2px;
}

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

.lct-input {
    position: relative;
    display: block;
    margin: 0;
}

.lct .lct-input input,
.lct .lct-input textarea {
    width: 100%;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1.5px solid var(--c-line) !important;
    border-radius: 14px !important;
    color: var(--c-ink) !important;
    background: var(--c-paper) !important;
    font: 500 15px/1.4 Montserrat, sans-serif !important;
    box-shadow: none !important;
    outline: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.lct .lct-input input {
    height: 52px !important;
    min-height: 0 !important;
}

.lct .lct-input textarea {
    min-height: 140px;
    padding: 14px 16px 30px !important;
    resize: vertical;
}

.lct .lct-input input:focus,
.lct .lct-input textarea:focus {
    border-color: var(--c-blue) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(30, 58, 95, .1) !important;
}

.lct .lct-input.is-invalid input,
.lct .lct-input.is-invalid textarea {
    border-color: #e5484d !important;
    background: #fff5f5 !important;
}

.lct-count {
    position: absolute;
    right: 14px;
    bottom: 10px;
    color: var(--c-mute);
    font: 500 11px/1 var(--sv-mono);
    font-style: normal;
}

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

.lct-consent {
    display: flex;
    gap: 12px;
    margin: 0;
    align-items: flex-start;
    color: var(--c-mute);
    font-size: 13.5px;
    line-height: 1.5;
    cursor: pointer;
}

.lct-consent input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 1px 0 0 !important;
    accent-color: var(--c-blue);
}

.lct-consent.is-invalid {
    color: #e5484d;
}

.lct-consent a {
    color: var(--c-blue) !important;
    text-decoration: underline !important;
}

.lct-error {
    padding: 12px 16px;
    border-radius: 12px;
    color: #b42318;
    background: #fff1f0;
    font-size: 14px;
}

.lct-error[hidden] {
    display: none !important;
}

.lct .lct-submit {
    position: relative;
    display: inline-flex !important;
    gap: 10px;
    width: 100% !important;
    height: auto !important;
    min-height: 58px !important;
    padding: 0 28px !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: var(--c-blue) !important;
    font: 700 16px/1 Montserrat, sans-serif !important;
    transition: background-color .25s ease, transform .25s ease;
}

.lct .lct-submit:hover {
    background: #0f2440 !important;
    transform: translateY(-2px);
}

.lct-submit__arrow {
    transition: transform .25s ease;
}

.lct-submit:hover .lct-submit__arrow {
    transform: translate(2px, -2px);
}

.lct-submit__spin {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lct-spin .8s linear infinite;
}

.lct-form.is-sending .lct-submit__spin {
    display: block;
}

.lct-form.is-sending .lct-submit__arrow {
    display: none;
}

.lct-form.is-sending .lct-submit {
    pointer-events: none;
    opacity: .85;
}

@keyframes lct-spin {
    to { transform: rotate(360deg); }
}

/* Başarı */
.lct-success {
    display: grid;
    min-height: 460px;
    place-content: center;
    justify-items: center;
    text-align: center;
    animation: lct-in .5s ease both;
}

@keyframes lct-in {
    from { opacity: 0; transform: translateY(10px); }
}

.lct-success__check svg {
    width: 92px;
    height: 92px;
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lct-success__check circle {
    stroke: #28c941;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: lct-draw .6s ease forwards;
}

.lct-success__check path {
    stroke: #28c941;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: lct-draw .4s .5s ease forwards;
}

@keyframes lct-draw {
    to { stroke-dashoffset: 0; }
}

.lct-success h2 {
    margin-top: 24px;
    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 700;
}

.lct-success p {
    max-width: 380px;
    margin-top: 12px !important;
    color: var(--c-mute);
    font-size: 16px;
    line-height: 1.6;
}

.lct-again {
    margin-top: 24px;
    color: var(--c-blue) !important;
    font-weight: 700;
    text-decoration: underline !important;
}

/* ---------------------------------------------------------------- RESPONSIVE */
@media (max-width: 980px) {

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

@media (max-width: 640px) {
    .lct-hero {
        padding-top: 120px;
    }

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

    .lct-form-wrap {
        border-radius: 22px;
    }

    .lct .lct-next {
        display: none;
    }

}
