/**
 * FDS Quote — Liste CTA + Modal
 */

/* Liste sayfasındaki Toplu Teklif CTA — açık gri zemin, 3 adımlı akış */
.fds-list-cta {
    margin: 28px 0 20px;
    background: #f6f6f8;
    color: #0d0c22;
    border-radius: 18px;
}
.fds-list-cta-inner {
    padding: 28px 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
    gap: 40px;
    align-items: center;
}
.fds-list-cta-head { min-width: 0; }
.fds-list-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #dc2626;
    margin-bottom: 10px;
}
.fds-list-cta-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .12);
    animation: fdsCtaPulse 2s ease-in-out infinite;
}
@keyframes fdsCtaPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
    50%      { box-shadow: 0 0 0 7px rgba(220, 38, 38, .05); }
}
.fds-list-cta-head h3 {
    font-size: 1.22rem;
    font-weight: 700;
    color: #0d0c22;
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.28;
}

.fds-list-cta-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    position: relative;
}
.fds-list-cta-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 0 14px;
    position: relative;
}
.fds-list-cta-steps li:first-child { padding-left: 0; }
.fds-list-cta-steps li:last-child  { padding-right: 0; }
.fds-list-cta-steps li + li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 1px;
    background: rgba(13, 12, 34, .12);
    transform: translateY(-50%);
}
.fds-step-num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: #0d0c22;
    font-size: .78rem;
    font-weight: 700;
    font-feature-settings: "tnum";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 1px rgba(13, 12, 34, .08),
        0 1px 2px rgba(13, 12, 34, .05);
}
.fds-step-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.fds-step-text strong {
    font-size: .86rem;
    font-weight: 600;
    color: #0d0c22;
    letter-spacing: -.005em;
    line-height: 1.3;
}
.fds-step-text small {
    font-size: .74rem;
    color: #6b7280;
    line-height: 1.35;
}

.fds-list-cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.fds-list-cta-meta {
    font-size: .72rem;
    color: #6b7280;
    letter-spacing: .02em;
}
.fds-list-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #0d0c22;
    color: #fff;
    border: 0;
    padding: 6px 6px 6px 22px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .01em;
    border-radius: 999px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .06) inset,
        0 8px 20px -10px rgba(13, 12, 34, .45);
    transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
    cursor: pointer;
    white-space: nowrap;
}
.fds-list-cta-btn-label {
    line-height: 1;
    padding: 10px 0;
}
.fds-list-cta-btn-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    color: #0d0c22;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    transition: transform .25s ease, background .2s ease, color .2s ease;
}
.fds-list-cta-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, .12) inset,
        0 14px 26px -10px rgba(220, 38, 38, .5);
}
.fds-list-cta-btn:hover .fds-list-cta-btn-arrow {
    transform: translateX(3px);
    background: #0d0c22;
    color: #ffffff;
}
@media (max-width: 960px) {
    .fds-list-cta {
        border-radius: 16px;
    }
    .fds-list-cta-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px;
    }
    .fds-list-cta-head h3 { font-size: 1.1rem; }
    .fds-list-cta-action {
        align-items: center;
        gap: 10px;
    }
    .fds-list-cta-btn {
        gap: 12px;
        padding: 6px 6px 6px 20px;
        font-size: .82rem;
    }
    .fds-list-cta-btn-arrow {
        width: 32px;
        height: 32px;
    }
    .fds-list-cta-meta { text-align: center; }
}
@media (max-width: 560px) {
    .fds-list-cta-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    /* Dikey listede yatay connector çizgilerini kaldır */
    .fds-list-cta-steps li + li::before {
        display: none;
    }
    .fds-list-cta-steps li {
        padding: 0;
    }
}

/* Quote modal — fds-modal-overlay/fds-modal class'larını miras alır */
.fds-quote-modal { max-width: 620px; }

.fds-quote-form { margin-top: 8px; }
.fds-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}
.fds-quote-field { display: flex; flex-direction: column; gap: 6px; }
.fds-quote-field-full { grid-column: 1 / -1; }
.fds-quote-field label {
    font-size: .82rem;
    font-weight: 600;
    color: #0d0c22;
    display: flex;
    gap: 4px;
    align-items: baseline;
}
.fds-quote-field label small {
    font-weight: 400;
    color: #6b7280;
    font-size: .72rem;
    margin-left: auto;
}
.fds-quote-field label .req { color: #dc2626; }

.fds-quote-field input[type="text"],
.fds-quote-field input[type="tel"],
.fds-quote-field input[type="email"],
.fds-quote-field textarea {
    width: 100%;
    padding: 11px 12px;
    background: #fafafa;
    border: 1.5px solid #e5e7eb;
    border-radius: 2px;
    font-size: .95rem;
    color: #0d0c22;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .2s ease, background .2s ease;
}
.fds-quote-field textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
.fds-quote-field input:focus,
.fds-quote-field textarea:focus {
    outline: none;
    border-color: #dc2626;
    background: #fff;
}

.fds-quote-urgency {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.fds-quote-urgency label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 2px;
    cursor: pointer;
    font-size: .88rem;
    font-weight: 500;
    color: #0d0c22;
    flex: 1;
    justify-content: center;
    transition: border-color .15s ease, background .15s ease;
}
.fds-quote-urgency label:hover { border-color: #0d0c22; }
.fds-quote-urgency input[type="radio"] {
    accent-color: #dc2626;
    margin: 0;
}
.fds-quote-urgency input[type="radio"]:checked + * { color: #dc2626; }

.fds-quote-kvkk {
    margin: 8px 0 22px;
    padding: 14px 16px;
    background: #fafafa;
    border-left: 3px solid #dc2626;
    font-size: .82rem;
    color: #2a2940;
    line-height: 1.5;
}
.fds-quote-kvkk label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}
.fds-quote-kvkk input[type="checkbox"] {
    margin: 3px 0 0;
    accent-color: #dc2626;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .fds-list-cta-inner { grid-template-columns: 1fr; }
    .fds-quote-grid { grid-template-columns: 1fr; }
}

/* OTP doğrulama paneli — submit öncesi telefon doğrulama */
.fds-otp-panel {
    padding: 8px 0;
}
.fds-otp-panel .fds-modal-desc {
    margin: 6px 0 22px;
}
.fds-otp-inputs {
    display: flex;
    justify-content: center;
    margin: 0 0 14px;
}
.fds-otp-code {
    width: 100%;
    max-width: 280px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: .5em;
    padding: 14px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    outline: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
    font-feature-settings: "tnum";
}
.fds-otp-code:focus {
    border-color: #0d0c22;
    box-shadow: 0 0 0 3px rgba(13, 12, 34, .08);
}
.fds-otp-code::placeholder {
    color: #cbd5e1;
    letter-spacing: .35em;
}
.fds-otp-resend {
    text-align: center;
    margin: 14px 0 0;
    font-size: .82rem;
    color: #6b7280;
}
.fds-otp-resend a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
}
.fds-otp-resend a.is-disabled {
    color: #9ca3af;
    pointer-events: none;
    cursor: not-allowed;
}
[data-fds-otp-timer] {
    color: #9ca3af;
    margin-left: 4px;
}
