
.main {
    max-width: 728px;
    width: 100%;
    background: #F4F1EA;
    overflow: hidden;
    font-family: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.banners{
    background: #F4F1EA;
    padding: 2rem 0;
}


.top {
    padding: 20px;
    color: white;
    position: relative;
    border-radius: 32px;
    border: 1px solid #d9774530;
}

.top .title {
    font-size: 40px;
    letter-spacing: -.025em;
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 12px;
    color: #D97745;
}

.top .subtitle{
    font-size: 40px;
    letter-spacing: -.025em;
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 12px;
    color: #000;
}

.top .sub {
    font-size: 14px;
    opacity: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 1.5rem;
    color: #000;
    flex-direction: column;
    
}

.top .sub .item{
    display: flex;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 16px;
    gap: .75rem;
    border-radius: .75rem;
    border: 1px solid #D9DED9;
    background: #eee8dd;
}

.top .sub .item i {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D97745;
    background: #ecdccd;
    border-radius: 10px;
}

.top .banner{
    bottom: 0;
    right: 0;
    z-index: 20;
    position: absolute;
    pointer-events: none;
    width: 323px;
    height: 242px;
    overflow: hidden;
}


.top .banner img{
    user-select: none;
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    vertical-align: middle;
}



.main .quastions{
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.main .quastions span{
    color: #D97745;
    background: #f1dfd1;
    font-weight: 700;
    padding-top: .125rem;
    padding-bottom: .125rem;
    border-radius: .25rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    padding-left: 10px;
    padding-right: 10px;
}





.steps-signal{
    display: flex;
}


.quiz {
    display: flex;
    padding: 2rem;
    color: #000;
    position: relative;
    border-radius: 32px;
    border: 1px solid #D9DED9;
    flex-direction: column;
}

.quiz .finish{
    
}

.quiz .finish .title{
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #1F2528;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    margin-bottom: 0;
}

.quiz .finish p{
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #6F797A;
}

.quiz small{
    height: 0;
    font-size: 0;
    opacity: 0;
    overflow: hidden;
}

.quiz .steps .step .question-label{
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #1F2528;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    margin-bottom: 0;
}

.quiz .steps{
    display: flex;
    position: relative;
}

.quiz .steps .step{
    flex: 1;
}

.quiz .steps .step .options{
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1rem;
}

.quiz .steps .step .options .option{
    grid-column: span 3 / span 3;
    position: relative;
}

.quiz .item{
    justify-content: start;
}

.quiz .item:last-child {
    margin-left: auto;
    justify-content: center;
}

.step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}


.option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.option .indicate{
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: 14px;
    left: 1rem;
    border-radius: 50%;
    border: 2px solid #b1b1b1;
}

.option input:checked ~ .indicate {
    border: 2px solid #D97745;
}

.option input:checked ~ .indicate::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D97745;
    top: 3px;
    left: 3px;
}

.option label {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 8px;
    padding: 0.75rem 1rem;
    padding-left: 3rem;
    border-radius: .75rem;
    border: 1px solid #D9DED9;
    background: #eee8dd;
    font-size: 1rem;
    line-height: 1.375;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 48px;
    user-select: none;
    text-align: left;
}

.option input:checked + label {
    background: #f1e4d9;
    border-color: #D97745;
}


#quiz-phone-error{
    display: none;
}

.step[data-step="5"]{
    color: #6F797A;
}


.btn-next {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #D97745;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    font-size: .875rem;
    line-height: 1.25rem;
    width: 145px;
}

.w-280{
    width: 280px;
}

.btn-next:hover {
    background: #B85D31;

}

.btn-next:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.bottom {
    background: #f4f1ea;
    padding: 20px 36px 18px;
    border-top: 1px solid #D9DED9;
    font-size: 13px;
    color: #6F797A;
    line-height: 1.6;
    margin-top: 2rem;
}

.bottom .rowss {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px 16px;
    margin-bottom: 8px;
}

#goCheck{
    accent-color: #D97745;
}

.assepted span a{
    color: #D97745;;
}

.bottom .policy {
    color: #6F797A;
    text-decoration: underline;
}


.bottom .policy a{
    color: #6F797A;
}

.bottom .info{
    flex-wrap: wrap;
}

.bottom .disclaimer {
    font-size: 12px;
    opacity: 0.75;
    padding-top: 10px;
    margin-top: 6px;
}

.bottom .copy {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 4px;
}
.phone-field {
    margin-top: 10px;
    margin-bottom: 10px;
}

.phone-field input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #D9DED9;
    border-radius: .75rem;
    background: #eee8dd;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.phone-field input:focus {
    outline: 2px solid #cf8952;
}



@media (max-width: 768px) {
    .top .title {
        font-size: 30px;
    }
    
    .top .subtitle {
        font-size: 30px;
    }
    
    .top .banner {
        width: 218px;
        height: 163px;
    }
    
    .main .quastions {
        text-align: center;
    }
    
    .quiz .steps .step .options {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: .5rem;
    }
    
    .main {
        padding: 1rem;
    }
    
    .quiz .steps .step .question-label {
        font-size: 1.25rem;
    }
    
    .quiz {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        padding-left: .75rem;
        padding-right: .75rem;
    }
    
    .bottom {
        padding-left: 0;
        padding-right: 0;
    }
}





