/* ============================================================
   Profesyonel Toptan Satış Başvuru Sayfası (prof-)
   ============================================================ */

.prof-page {
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
    padding: 56px 0 80px;
}

.prof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

/* ---- Sol: form kolonu ---- */

.prof-badge {
    display: inline-block;
    padding: 7px 16px;
    margin-bottom: 18px;
    background: #F6F2EC;
    border: 1px solid rgba(142, 47, 53, 0.25);
    border-radius: 999px;
    color: #8E2F35;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.prof-title {
    margin: 0 0 14px;
    color: #2B2421;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.14;
}

.prof-lead {
    margin: 0 0 32px;
    color: #6b6159;
    font-size: 16px;
    line-height: 1.7;
}

.prof-form .prof-field {
    margin-bottom: 18px;
}

.prof-form label {
    display: block;
    margin-bottom: 8px;
    color: #2B2421;
    font-size: 14px;
    font-weight: 600;
}

.prof-form label .prof-required {
    color: #8E2F35;
}

.prof-input,
.prof-select,
.prof-textarea {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    background: #F7F5F2;
    border: 1px solid #E4DED6;
    border-radius: 12px;
    color: #2B2421;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.prof-textarea {
    height: auto;
    min-height: 110px;
    padding: 14px 18px;
    resize: vertical;
    line-height: 1.6;
}

.prof-input::placeholder,
.prof-textarea::placeholder {
    color: #a89f95;
}

.prof-input:focus,
.prof-select:focus,
.prof-textarea:focus {
    background: #fff;
    border-color: #8E2F35;
    box-shadow: 0 0 0 4px rgba(142, 47, 53, 0.10);
}

.prof-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238E2F35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

/* Telefon alanı: sabit +90 kodu */
.prof-phone {
    position: relative;
}

.prof-phone__code {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #2B2421;
    font-size: 15px;
    font-weight: 600;
    pointer-events: none;
}

.prof-phone__input {
    padding-left: 58px;
}

.prof-hint {
    display: none;
    margin-top: 8px;
    font-size: 13px;
}

.prof-hint--error {
    color: #B3261E;
}

.prof-field--invalid .prof-input,
.prof-field--invalid .prof-select,
.prof-field--invalid .prof-textarea {
    border-color: #B3261E;
}

.prof-field--invalid .prof-hint {
    display: block;
}

/* KVKK onayı */
.prof-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 22px;
    cursor: pointer;
}

.prof-consent input {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: #8E2F35;
    cursor: pointer;
}

.prof-consent span {
    color: #6b6159;
    font-size: 14px;
    line-height: 1.55;
}

.prof-consent--invalid input {
    outline: 2px solid #B3261E;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Gönder butonu */
.prof-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 58px;
    padding: 0 26px;
    background: #8E2F35;
    border: none;
    border-radius: 14px;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(142, 47, 53, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.prof-submit svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.25s ease;
}

.prof-submit:hover {
    transform: translateY(-2px);
    background: #7a2830;
    box-shadow: 0 14px 32px rgba(142, 47, 53, 0.35);
}

.prof-submit:hover svg {
    transform: translateX(4px);
}

.prof-submit:active {
    transform: translateY(0);
}

.prof-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

/* Form durum mesajları */
.prof-alert {
    display: none;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.prof-alert--success {
    display: block;
    background: #EDF6EF;
    border: 1px solid #BFDCC6;
    color: #1E6B33;
}

.prof-alert--error {
    display: block;
    background: #FBECEA;
    border: 1px solid #F0C9C4;
    color: #8A241D;
}

.prof-alert ul {
    margin: 0;
    padding-left: 18px;
}

/* ---- Sağ: görsel kolonu ---- */

.prof-visual {
    position: relative;
    min-height: 640px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(160deg, #3a2a26 0%, #5a3a35 60%, #7A2830 100%);
    box-shadow: 0 18px 44px rgba(43, 36, 33, 0.18);
}

.prof-visual__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prof-visual__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.30);
}

.prof-visual__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 36px;
    background: linear-gradient(0deg, rgba(15, 15, 15, 0.55) 0%, rgba(15, 15, 15, 0) 70%);
}

.prof-visual__badge {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.prof-visual__title {
    margin: 0 0 10px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.prof-visual__desc {
    margin: 0 0 20px;
    max-width: 460px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.65;
}

.prof-perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prof-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.prof-perk svg {
    flex: none;
    width: 18px;
    height: 18px;
    stroke: #C9A46A;
}

/* ---- Tablet ---- */

@media (max-width: 1024px) {
    .prof-page {
        padding-top: 44px;
    }

    .prof-grid {
        gap: 32px;
    }

    .prof-title {
        font-size: 34px;
    }

    .prof-visual {
        min-height: 560px;
    }
}

/* ---- Başarı: animasyonlu tik ---- */

.prof-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding: 30px 22px;
    background: #EDF6EF;
    border: 1px solid #BFDCC6;
    border-radius: 14px;
    text-align: center;
}

.prof-success[hidden] {
    display: none;
}

.prof-success__svg {
    width: 66px;
    height: 66px;
    overflow: visible;
}

.prof-success__circle {
    fill: none;
    stroke: #1E6B33;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
}

.prof-success__check {
    fill: none;
    stroke: #1E6B33;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}

.prof-success--play .prof-success__circle {
    animation: prof-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.prof-success--play .prof-success__check {
    animation: prof-stroke 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.55s forwards;
}

.prof-success__text {
    margin: 0;
    color: #1E6B33;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

@keyframes prof-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* ---- Mobil: önce form, sonra görsel ---- */

@media (max-width: 768px) {
    .prof-page {
        width: 94%;
        padding: 36px 0 56px;
    }

    .prof-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .prof-title {
        font-size: 30px;
    }

    .prof-lead {
        font-size: 15px;
        margin-bottom: 26px;
    }

    .prof-visual {
        min-height: 0;
        height: 380px;
        border-radius: 18px;
    }

    .prof-visual__content {
        padding: 28px 24px;
    }

    .prof-visual__title {
        font-size: 24px;
    }

    .prof-visual__desc {
        font-size: 14px;
    }

    .prof-submit {
        height: 56px;
        font-size: 15px;
    }
}
