/* =====================================
   DIAGNOSTIKAS LAPA
===================================== */

.diagnostika-page{

    min-height:calc(100vh - 220px);

    padding:70px 0;

}

.diagnostika-card{

    max-width:1050px;
    margin:0 auto;

    background:#fff;

    border-radius:20px;

    padding:50px;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}


/* =====================================
   PROGRESS
===================================== */

.progress{

    width:90px;

    margin:25px auto;

    padding:10px 0;

    text-align:center;

    font-size:18px;

    font-weight:600;

    color:#9a7a4a;

    background:#f7f1e6;

    border-radius:30px;

}

/* =====================================
   SFĒRAS NOSAUKUMS
===================================== */

#sphereTitle{

    font-family:'Cormorant Garamond',serif;

    font-size:56px;

    color:#8a673e;

    text-align:center;

    margin-bottom:45px;

}


/* =====================================
   INFORMĀCIJAS BLOKI
===================================== */

.info-block{

    margin-bottom:40px;

}

.info-block h2{

    font-family:'Cormorant Garamond',serif;

    font-size:36px;

    color:#8a673e;

    margin-bottom:15px;

}

.info-block p{

    line-height:1.9;

    font-size:20px;

    color:#555;

    text-align:justify;

}


/* =====================================
   GALVENAIS JAUTĀJUMS
===================================== */

.question-block{

    margin:50px 0;

    padding:35px;

    background:#faf8f4;

    border-left:5px solid #b59d54;

    border-radius:12px;

}

#mainQuestion{

    font-size:32px;

    font-family:'Cormorant Garamond',serif;

    color:#8a673e;

    margin-bottom:20px;

}

#mainNote{

    font-size:19px;

    line-height:1.8;

    color:#555;

}


/* =====================================
   ATBILDES
===================================== */

.answer-block{

    margin-top:50px;

    text-align:center;

}

#answerTitle{

    font-family:'Cormorant Garamond',serif;

    font-size:42px;

    color:#8a673e;

    margin-bottom:20px;

}

.answer-description{

    font-size:20px;

    margin-bottom:35px;

}


/* =====================================
   SKALAS APRAKSTI
===================================== */

.scale-labels{

    display:flex;

    justify-content:space-between;

    margin-bottom:25px;

    color:#777;

    font-size:16px;

}


/* =====================================
   POGAS
===================================== */

.answers{

    display:grid;

    grid-template-columns:repeat(10,1fr);

    gap:12px;

}

.answer-btn{

    height:60px;

    border:none;

    border-radius:50%;

    background:#b59d54;

    color:#fff;

    font-size:20px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.answer-btn:hover{

    background:#9d8445;

    transform:translateY(-2px);

}

.answer-btn.active{

    background:#7d6038;

    transform:scale(1.1);

    box-shadow:0 0 18px rgba(181,157,84,.6);

}

/* ==========================================
   DIAGNOSTIKAS SHĒMA
========================================== */

.diagnostic-diagram{

    position:relative;
    width:800px;
    max-width:100%;
    margin:60px auto;

}

.diagram-image{

    display:block;
    width:100%;
    height:auto;
    user-select:none;
    pointer-events:none;

}

.diag-score{

    position:absolute;

    display:flex;
    align-items:center;
    justify-content:center;

    width:60px;
    height:60px;

    font-size:42px;
    font-weight:700;

    color:#b88a2a;

    z-index:10;

}

/* 1 - Personīgais priekšnosacījums */

#score1{

    left:-40px;
    top:330px;

}

/* 4 - Priekšnosacījums sabiedrībai */

#score4{

    left:80px;
    top:6px;

}

/* 3 - Vecāku un bērnu attiecības */

#score3{

    right:195px;
    top:-40px;

}

/* 5 - Personīgās attiecības */

#score5{

    right:-2px;
    top:385px;

}

/* 7 - Par ko man maksā naudu */

#score7{

    left:235px;
    bottom:-20px;

}

/* 8 - Manas prasības darbam */

#score8{

    right:235px;
    bottom:-20px;

}
/* =====================================
   REZULTĀTA TEKSTS
===================================== */

.result-info{

    max-width:900px;
    margin:70px auto;
    padding:0 25px;
    text-align:center;

}

.result-info h2{

    font-family:'Cormorant Garamond',serif;
    font-size:52px;
    color:#8a673e;
    margin-bottom:30px;

}
.result-info p{

    font-size:18px;
    line-height:1.9;
    color:#555;
    margin-bottom:25px;


}

.result-info .gold-button{

    margin-top:20px;
    min-width:320px;

}


/* =====================================
   MOBILĀ
===================================== */

@media(max-width:768px){

.diagnostika-card{

    padding:30px 20px;

}
.diagnostika-page{


    padding:25px 0;
}

#sphereTitle{

    font-size:40px;

}

.info-block h2{

    font-size:30px;

}

.info-block p{

    font-size:18px;

    text-align:left;

}

#mainQuestion{

    font-size:28px;

}

#mainNote{

    font-size:17px;

}

#answerTitle{

    font-size:32px;

}

.answer-description{

    font-size:18px;

}

.scale-labels{

    font-size:13px;

}

.answers{

    grid-template-columns:repeat(5,1fr);

    gap:15px;

}

.answer-btn{

    height:55px;

    font-size:18px;

}


    .result-info{

        margin:30px auto;
        padding:0 20px;

    }

    .result-info h2{

        font-size:35px;

    }

    .result-info p{

        font-size:16px;
        line-height:1.8;
        text-align:left;

    }

    .result-info .gold-button{

        width:90%;
        min-width:0;

    }
/* =====================================
   MOBILĀ DIAGRAMMA
===================================== */

.diagnostic-diagram{

    width:340px;
    margin:30px auto;

}

.diag-score{

    font-size:25px;
    width:45px;
    height:45px;

}

/* 1 */

#score1{

    left:-20px;
    top:150px;

}

/* 4 */

#score4{

    left:15px;
    top:-12px;

}

/* 3 */

#score3{

    right:78px;
    top:-30px;

}

/* 5 */

#score5{

    right:0;
    top:180px;

}

/* 7 */

#score7{

    left:80px;
    bottom:-18px;

}

/* 8 */

#score8{

    right:80px;
    bottom:-18px;

}