*,
*::before,
*::after{
    box-sizing: border-box;
}
:root{
    --text-color:#111111;
    --body:#F5F5F5;
    --green:#1E7E34;
    --green-bg:#DAE9EA;
    --grey:#6C757D;
    --white:#fff;
    --primary: #0056b3; /* Медицинский синий */
    --primary-light: #eef5ff;
    --accent: #1e7e34; /* Доверительный зеленый */
    --danger: #d93025; /* Акцентный красный */
    --calc-section:#F4F7F9;
}
a{
    display: inline-block;
    text-decoration: none;
    color: inherit;
}
html {
    scroll-behavior: smooth;
}
img{
    display: block;
    width: 100%;
}
body{
    font-family: 'Inter', sans-serif;
    background: var(--body);
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.3;
}
h1, h2, h3, h4{
    font-family: "Inter", sans-serif;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.2em;
    font-weight: 700;
}
h1{
    font-size: 37px; 
}
.container{
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 100px;
}
.title{
    color: var(--text-color);
    font-size: 30px;
    text-align: center;
}



 /* Progress Bar */
#progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: rgba(0,0,0,0.05); z-index: 9999; }
#progress-bar { height: 100%; background: var(--primary); width: 0%; border-radius: 0 2px 2px 0; }

.hero{
    background-color: var(--white);
    margin-bottom: 10px;
    padding: 40px 0;
}
.discount-active{
    color: var(--green);
    padding: 15px 20px;
    text-transform: uppercase;
    text-align: center;
    background-color: var(--green-bg);
    border-radius: 30px;
    max-width: 345px;
    width: 100%;
    margin: 0 auto;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}
.discount-active::before{
    content: '';
    width: 13px;
    height: 13px;
    display: block;
    background-color: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
}

.main-title{
    padding: 0 20px;
    margin-bottom: 30px;
    font-size: 37px; 
}
.subtitle{
    text-align: center;
    padding: 0 30px;
    color: var(--grey);
    line-height: 1.4;
    font-size: 20px;
}
.hero .note{
    color: var(--primary);
    text-align: center;
}

.diagnostic{
    background-color: var(--white);
    padding: 40px 0;
    margin-bottom: 10px
}
.diagnostic h2{
    padding: 0 30px;
}

/* 2. CALCULATOR */
        .calc-section { background: var(--calc-section); border-radius: 20px; max-width: 470px; margin: 0 auto; padding-top: 20px;}
        .calc-card { background: var(--bg-body); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; }
        .calc-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 20px; }
        .q-block { margin-bottom: 20px; }
        .q-label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 10px; }
        
        /* Range slider styling */
        .val-display { color: var(--primary); font-size: 18px; font-weight: 800; }
        .slider { width: 100%; height: 10px; background: #dce4ec; border-radius: 5px; outline: none; appearance: none; margin-top: 10px; }
        .slider::-webkit-slider-thumb { appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
        
        /* Custom Radio Buttons (Pills) */
        .pills-group { display: flex; gap: 10px; }
        .pill-label { flex: 1; text-align: center; background: #fff; border: 1px solid #dce4ec; padding: 10px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; transition: 0.2s; }
        .pill-input:checked + .pill-label { background: var(--primary); color: #fff; border-color: var(--primary); }
        .pill-input { display: none; }

        .btn-calc { width: 100%; background: var(--text-color); color: #fff; border: none; padding: 16px; border-radius: 12px; font-size: 16px; font-weight: 600; margin-top: 10px; transition: 0.3s; }
        #calc-result { display: none; margin-top: 20px; padding: 16px; background: rgba(217, 48, 37, 0.05); border-left: 5px solid var(--danger); border-radius: 0 12px 12px 0; font-size: 16px; line-height: 1.5; color: #a50e0e; }

.doctor{
    padding: 40px 0;
    background-color: var(--white);
}

.doctor-inner{
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}
.doctor-inner>img{
    border-radius: 50%;
    max-width: 125px;
}
.doctor-name>p:first-of-type{
    font-weight: 700;
    font-size: 22px;
}
.doctor-name{
    max-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 16px;
}
.doctor-text{
    padding: 0 30px;
    line-height: 1.5;
}




.how-works{
    background-color: var(--white);
    padding: 40px 0;
    margin-bottom: 10px;
}
.how-works h2{
    padding: 0 20px;
}
.how-inner{
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.how-works{
    padding: 40px 0;
    background-color: var(--white);
}
.how-img{
    width: 96px;
    height: 96px;
    border-radius: 15px;
    background-color: #F6F9FF;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #E1E8F0;
}
.how-img>img{
    max-width: 40px;
}
.how-text>p:first-of-type{
    font-weight: 700;
    margin-bottom: 10px;
}
.how-item{
    display: flex;
    gap: 20px;
    max-width: 480px ;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 20px;
    padding: 35px 20px;
    border: 1px solid #d5d8db;
    box-shadow: 0 5px 100px rgba(69, 94, 156, 0.2);
}



.protocol{
    background-color: var(--white);
    padding: 40px 0;
    margin-bottom: 10px;
}
.protocol h2{
    padding: 0 75px;
}
.plan-table {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    line-height: 1.5;
}

.plan-table__head {
    display: grid;
    grid-template-columns: 40% 60%;
    background: #eef3fb;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-table__head div {
    padding: 18px;
}

.plan-table__row {
    display: grid;
    grid-template-columns: 40% 60%;
    border-top: 1px solid #e5e7eb;
}

.plan-table__left,
.plan-table__right {
    padding: 18px;
}

.plan-table__left strong {
    display: block;
    margin-bottom: 8px;
    color: #0d5cc0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.plan-table__left span {
    display: block;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
}

.plan-table__right {
    color: #1f2937;
    font-size: 16px;
    line-height: 1.6;
}








.reviews{
    background-color: var(--white);
    padding: 40px 0;
}

.review-inner{
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.review-item{
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 30px ;
    border: 1px solid #e2e4e6;
    border-radius: 15px;
}
.rev-title{
    font-weight: 700;
}
.verificate{
    font-size: 16px;
    color: var(--accent);
}
.review-name{
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    justify-content: space-between;
    align-items: start;
}
.review-name>img{
    max-width: 125px;
    flex-shrink: 0;
}

.order{
    background-color: var(--white);
    padding: 40px 0;
}
.order .subtitle{
    padding: 0 10px;
}
.price-block{
    display: flex;
    gap: 30px;
    align-items: end;
    justify-content: center;
    margin-bottom: 30px;
}
.old-price{
    color: var(--grey);
    font-size: 27px;
    text-decoration: line-through;
}
.new-price{
    color: var(--danger);
    font-size: 60px;
    font-weight: 700;
}
.order .discount-active{
    max-width: 470px;
    gap: 8px;
    padding: 15px;
    font-size: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}
.input-form{
    max-width: 480px;
    width: 100%;
    border: 1px solid #e8e9eb;
    margin: 0 auto;
    display: block;
    height: 80px;
    border-radius: 20px;
    text-align: center;
    padding: 20px;
    background-color: #F4F7F9;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
}
.btn{
    background-color: var(--green);
    color: var(--white);
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    display: block;
    height: 80px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    border-radius: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}
.note{
    padding: 0 35px;
    text-align: center;
    font-size: 16px;
    color: var(--grey);
}




 /* STICKY BUTTON */
        #sticky-btn { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(100px); width: calc(100% - 40px); max-width: 440px; background: var(--primary); color: #fff; text-align: center; padding: 18px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: 16px; box-shadow: 0 10px 25px rgba(0,86,179,0.3); z-index: 1000; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        #sticky-btn.show { transform: translateX(-50%) translateY(0); }












.cpu{
padding: 10px 0;
text-align: center;
background-color: var(--white);
}
.cpu img{
display:block;
margin: 0 auto;
width: auto;
}
.cpu a{
display: inline-block;
margin: 5px;
color: #333;
font-size: 14px;
}
