.tspf-wrap {
    max-width: 980px;
    margin: 30px auto;
    padding: 15px;
    font-family: inherit;
}

.tspf-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.10);
    padding: 34px;
    border: 1px solid rgba(0,0,0,0.06);
}

.tspf-header {
    text-align: center;
    margin-bottom: 28px;
}

.tspf-badge {
    display: inline-block;
    background: #f0f7ff;
    color: #2154d8;
    border-radius: 50px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tspf-header h2 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.15;
}

.tspf-header p {
    margin: 0;
    color: #5f6470;
    font-size: 16px;
}

.tspf-step {
    margin-bottom: 24px;
}

.tspf-label,
.tspf-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #151923;
}

.tspf-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tspf-option input {
    position: absolute;
    opacity: 0;
}

.tspf-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9dee8;
    background: #f9fafc;
    border-radius: 14px;
    padding: 13px 18px;
    min-width: 110px;
    cursor: pointer;
    transition: all .2s ease;
    font-weight: 600;
}

.tspf-option input:checked + span,
.tspf-option span:hover {
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.tspf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.tspf-field select {
    width: 100%;
    border: 1px solid #d9dee8;
    border-radius: 14px;
    padding: 13px 14px;
    min-height: 48px;
    background: #ffffff;
}

.tspf-submit {
    width: 100%;
    border: none;
    background: #111827;
    color: #ffffff;
    border-radius: 16px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.tspf-submit:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.tspf-results {
    margin-top: 28px;
    border-top: 1px solid #edf0f5;
    padding-top: 24px;
}

.tspf-results h3 {
    margin: 0 0 8px;
}

.tspf-results-intro {
    color: #6b7280;
    margin-top: 0;
}

.tspf-summary {
    background: #f9fafb;
    border-radius: 16px;
    padding: 16px;
    margin: 14px 0;
}

.tspf-summary ul {
    margin: 0;
    padding-left: 20px;
}

.tspf-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tspf-whatsapp,
.tspf-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 12px 16px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.tspf-whatsapp {
    background: #25D366;
    color: #fff;
}

.tspf-reset {
    background: #fff;
    color: #111827;
    border: 1px solid #d9dee8;
}

@media (max-width: 768px) {
    .tspf-card {
        padding: 22px;
        border-radius: 18px;
    }

    .tspf-header h2 {
        font-size: 26px;
    }

    .tspf-grid {
        grid-template-columns: 1fr;
    }

    .tspf-option span {
        min-width: auto;
        width: 100%;
    }

    .tspf-option {
        flex: 1 1 calc(50% - 8px);
    }
}
