/* =========================
   İLETİŞİM — form içeriği
   ========================= */

.tp-contact-stage {
    background: #fff;
    padding: clamp(40px, 7vh, 72px) 0 clamp(56px, 8vh, 88px);
    scroll-margin-top: 5.5rem;
}

.tp-contact-stage-inner {
    max-width: 720px;
}

.tp-contact-intro {
    margin-bottom: clamp(28px, 4vh, 40px);
}

.tp-contact-headline {
    color: #004a98;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 .75rem;
}

.tp-contact-lead {
    color: #4a4f57;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 32rem;
}

.tp-contact-form-xl {
    margin: 0;
}

.tp-contact-fields {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .tp-contact-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tp-contact-field--message,
    .tp-contact-field:not(.tp-contact-field--half) {
        grid-column: 1 / -1;
    }
}

.tp-contact-field {
    display: flex;
    flex-direction: column;
}

.tp-contact-label {
    color: #2b2d33;
    display: block;
    font-size: .875rem;
    font-weight: 600;
    margin: 0 0 .4rem;
}

.tp-contact-control {
    appearance: none;
    background: #fff;
    border: 1px solid #d5dde8;
    border-radius: 8px;
    box-shadow: none;
    color: #2b2d33;
    display: block;
    font-size: .9375rem;
    line-height: 1.5;
    outline: none;
    padding: .65rem .85rem;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

.tp-contact-control:focus {
    border-color: #004a98;
    box-shadow: 0 0 0 3px rgba(0, 74, 152, .1);
}

.tp-contact-control.input-validation-error {
    border-color: #c0392b;
}

.tp-contact-textarea {
    max-height: 200px;
    min-height: 140px;
    overflow-y: auto;
    resize: none;
}

/* intl-tel-input — telefon alanı (tek kutu görünümü) */
.tp-contact-phone-wrap .iti {
    border: 1px solid #d5dde8;
    border-radius: 8px;
    display: block;
    transition: border-color .2s ease, box-shadow .2s ease;
    width: 100%;
}

.tp-contact-phone-wrap .iti:focus-within {
    border-color: #004a98;
    box-shadow: 0 0 0 3px rgba(0, 74, 152, .1);
}

.tp-contact-phone-wrap .iti__flag {
    overflow: hidden;
}

.tp-contact-phone-wrap .iti__country-container {
    border: none;
}

.tp-contact-phone-wrap .iti__tel-input.tp-contact-control {
    border: none;
    border-radius: 0 8px 8px 0;
    box-shadow: none;
}

.tp-contact-phone-wrap .iti__tel-input.tp-contact-control:focus {
    border: none;
    box-shadow: none;
}

.tp-contact-phone-wrap .iti.input-validation-error {
    border-color: #c0392b;
}

.tp-contact-phone-wrap .iti.input-validation-error:focus-within {
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .15);
}

.tp-contact-error {
    color: #c0392b;
    display: block;
    font-size: .8125rem;
    margin-top: .35rem;
    min-height: 1.1em;
}

.tp-contact-error:empty {
    display: none;
}

.tp-contact-error .field-validation-error,
.tp-contact-error label.error {
    color: #c0392b;
    display: block;
    font-size: .8125rem;
    font-weight: 500;
    margin: 0;
}

.tp-contact-actions {
    border-top: 1px solid #e8edf2;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.tp-contact-send {
    align-items: center;
    background: #004a98;
    border: none;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 700;
    gap: .5rem;
    padding: .6rem 1rem .6rem 1.15rem;
    transition: background-color .2s ease, transform .2s ease;
}

.tp-contact-send-icon {
    align-items: center;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: inline-flex;
    flex-shrink: 0;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.tp-contact-send-icon .zmdi {
    font-size: 1rem;
    line-height: 1;
}

.tp-contact-send:hover {
    background: #002a5c;
    color: #fff;
}

.tp-contact-send:hover .tp-contact-send-icon {
    transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
    .tp-contact-send,
    .tp-contact-send-icon,
    .tp-contact-control {
        transition: none;
    }
}
