/* Reset & Base Standards */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    background-color: #ffffff;
    color: #2e2e2e;
    line-height: 1.5;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input {
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Variables */
:root {
    --primary-yellow: #ffb313;
    --primary-red: #e14546;
    --dark-purple: #120048;
    --dark-blue: #183D5C;
    --light-purple: #2b1177;
    --bg-gray: rgba(84, 93, 88, 0.09);
    --border-gray: rgba(0, 0, 0, 0.18);
    --text-dark: #2e2e2e;
}

/* Accessibility Utility Styles */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Layout Structure & BEM Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.divider {
    width: 188px;
    height: 11px;
    background-color: var(--primary-red);
    border: none;
    margin: 0 auto 24px auto;
}

/* Header Component */
.header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    padding: 20px 32px;
    display: flex;
    justify-content: flex-end;
}

.header__logo {
    width: 100px;
    height: 25px;
    object-fit: contain;
}

@media(max-width:768px) {
    .header{
        padding-inline: 16px;
    }
    .header__logo {
        width: 52px;
        height: 13px;
    }
}

/* Hero Component */
.hero {
    position: relative;
    min-height: 616px;
    background-image: url('./imgs/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero__mobile_content{
    display: none;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.00) -23.54%, rgba(0, 0, 0, 0.50) 40.25%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 50%;
    width: 100%;
    padding: 24px;
}

.hero__badge-wrapper {
    position: absolute;
    right: 120px;
    bottom: -100px;
    z-index: 10;
    width: 202px;
    height: 202px;
}

.hero__badge {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #120048;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(18, 0, 72, 0.3);
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease;
    padding: 0 20px;
    border: 3px solid #E14546;
}

.hero__badge:hover {
    transform: scale(1.05);
}

.hero__badge-text {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
}

.hero__badge-icon {
    width: 80px;
    height: 80px;
}

.hero__tagline {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-yellow);
    line-height: 1;
}

.hero__title {
    font-size: 48px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 16px;
    line-height:1;
}

.hero__desc {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 32px;
    max-width: 460px;
    font-weight: 400;
    line-height: 1.4;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    padding: 0 18px;
    border-radius: 3px;
    min-width: 200px;
    font-size: 20px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hero__btn--primary {
    background-color: var(--primary-yellow);
    color: #000000;
}

.hero__btn--primary:hover {
    background-color: #e09c0d;
}

.hero__btn--secondary {
    background-color: var(--primary-yellow);
    color: #000000;
    width: 187px;
}

.hero__btn--secondary:hover {
    background-color: #e09c0d;
}

@media(max-width:1024px) {
    .hero {
        height: 185px;
        min-height: auto;
        background-image: url(./imgs/hero-mobile.jpg);
    }

    .hero::before{
        background: linear-gradient(270deg, rgba(255, 255, 255, 0.00) -23.54%, rgba(0, 0, 0, 0.50) 40.25%);

    }

    .hero__mobile_content{
    display: block;
    text-align: center;
    padding-top: 26px;
}

    .hero__content {
        display: none;
    }

    .hero__tagline {
        color: var(--text-dark);
        font-size: 36px;
    }

    .hero__title {
        color: var(--text-dark);
        text-shadow: none;
        font-size: 40px;
        line-height: normal;
        margin-bottom: 6px;
    }

    .hero__desc {
        color: var(--text-dark);
        text-shadow: none;
        margin: 0 auto 32px auto;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
        max-width: 190px;
        margin: 0 auto;
    }

    .hero__btn {
        width: 100%;
    }

    .hero__badge-wrapper {
        width: 96px;
        height: 96px;
        right: 16px;
        bottom: -24px;
    }

    .hero__badge{
        padding: 0 10px;
    }

    .hero__badge-icon{
        width: 38px;
        height: 38px;
    }

    .hero__badge-text {
        font-size: 15px;
    }
}

/* Symptoms Section Component */
.symptoms {
    padding: 62px 0;
    background-color: #ffffff;
}

.symptoms__title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.symptoms__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.symptoms__card {
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 1px 1px 40px rgba(84, 93, 88, 0.13);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease;
}

.symptoms__card:hover {
    transform: translateY(-5px);
}

.symptoms__icon-box {
    width: 124px;
    height: 124px;
    /*border-radius: 50%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    /*background-color: #FFB313;*/
}

.symptoms__icon {
    object-fit: contain;
    /*width: 88px;
    height: 88px;*/
    width: 124px;
    height: 124px;
}

.symptoms__label {
    font-size: 24px;
    font-weight: 700;
    /*color: var(--primary-red);*/
    color: var(--dark-blue);
    line-height: 1.2;
}

@media(max-width:1024px) {

    .stats__line{
        margin: 0 auto;
    }
    .symptoms{
        padding-top: 50px;
        padding-bottom: 0;
    }
    .symptoms__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .symptoms__title{
        font-size: 36px;
        line-height: 1;
    }

    .symptoms__card {
        flex-direction: row;
        gap: 32px;
        padding: 10px 24px;
        text-align: right;
        border-radius: 15px;
    }

    .symptoms__icon-box {
        margin-bottom: 0;
        width: 75px;
        height: 75px;
    }

    .symptoms__icon {
        width: 56px;
        height: 56px;
    }

    .symptoms__label {
        font-size: 20px;
    }
}

/* Statistics Section Component */
.stats {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.13);
    position: relative;
}

.stats__wrapper {
    display: flex;
    gap: 48px;
}

.stats__content {
    flex: 1;
    max-width: 400px;
}

.stats__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #070707;
    line-height: 1.2;
}

.stats__desc {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 32px;
    line-height: 1.4;
}

.stats__subheading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #070707;
}

.stats__subdesc {
    font-size: 20px;
    color: var(--text-dark);
    line-height: 1.4;
}

.stats__grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stats__card {
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 1px 1px 40px rgba(84, 93, 88, 0.13);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stats__card-img {
    width: 100%;
    height: 166px;
    object-fit: cover;
}

.stats__card-content {
    padding: 45px 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.stats__card-num {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 8px;
    line-height: 1;
}

.stats__card-text {
    font-size: 24px;
    color: var(--text-dark);
    line-height: 1.3;
}

@media(max-width:1024px) {

    .stats__card-text{
        font-size: 20px;
    }
    .stats{
        padding-bottom: 140px;
    }
    .stats__title{
        font-size: 34px;
        line-height: 1.05;
    }

    .stats__desc br{
        display: none;
    }
    
    .stats__wrapper {
        flex-direction: column;
        gap: 32px;
    }

    .stats__content {
        max-width: 100%;
        text-align: center;
    }

    .stats__card-num{
        font-size: 34px;
    }

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

    .stats__card-img {
        height: 160px;
    }
}

/* Questionnaire Section Component */
.q-section__short-label {
    font-size: 27px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 16px;
}

.q-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--dark-purple), var(--light-purple));
    color: #ffffff;
}

.q-section__wrapper {
    display: flex;
    gap: 38px;
    align-items: flex-start;
}

.q-section__content {
    flex: 1;
    max-width: 370px;
    position: relative;
    padding-top: 60px;
}

.q-section__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.05;
}

.q-section__desc {
    font-size: 20px;
    margin-bottom: 24px;
    line-height: 1.2;
    max-width: 75%;
}

.q-section__alert {
    font-size: 16px;
    color: #fff47b;
    margin-bottom: 16px;
    font-weight: 500;
}

.q-section__disclaimer {
    font-size: 16px;
    color: #ffffff;
}

.q-section__actions {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 22px;
    max-width: 90%;
}

.q-section__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 43px;
    padding: 0 18px;
    border-radius: 3px;
    font-size: 20px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.q-section__btn--primary {
    background-color: var(--primary-red);
    color: #ffffff;
}

.q-section__btn--primary:hover {
    background-color: #c83b3c;
}

.q-section__btn--download {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    opacity: 0.5;
    pointer-events: none;
}

.q-section__btn--download.is-active {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.q-section__btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.q-section__badge-wrapper {
    width: 202px;
    height: 202px;
    align-self: flex-start;
    position: absolute;
    top: -180px;
}

.q-section__badge {
    width: 100%;
    height: 100%;
    display: flex;
    background-color: #E14546;
    padding: 0 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.q-section__badge:hover {
    transform: scale(1.05);
}

.q-section__badge-text {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.2;
}

.q-section__badge-icon {
    width: 80px;
    height: 80px;
}

.q-section__sheet {
    background: #ffffff;
    border: 5px solid var(--primary-red);
    border-radius: 25px;
    padding: 30px 26px 15px;
    color: var(--text-dark);
    box-shadow: 1px 1px 40px rgba(84, 93, 88, 0.13);
}

.q-section__sheet-wrap {
       flex: 1;

}

.q-section__sheet-title {
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #E14546;
    text-align: right;
}

.q-sheet__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #E14546;
}

.q-sheet__row:last-child {
    border-bottom: none;
}

.q-sheet__text {
    font-size: 20px;
    color: var(--dark-purple);
    font-weight: 400;
    max-width: 70%;
    text-align: right;
}

.q-sheet__options {
    display: flex;
    gap: 12px;
}

.q-sheet__btn {
    width: 60px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    border: 1px solid var(--border-gray);
    background-color: var(--bg-gray);
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s ease;
}

.q-sheet__btn--yes.is-active {
    background-color: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
}

.q-sheet__btn--no.is-active {
    background-color: var(--dark-purple);
    color: #ffffff;
    border-color: var(--dark-purple);
}

@media(max-width:1024px) {
    .q-section__wrapper {
        flex-direction: column-reverse;
    }

    .q-section__content {
        max-width: 100%;
        text-align: center;
        order: 2;
    }

    .q-section__badge-wrapper {
        align-self: center;
        width: 200px;
        height: 200px;
                left: 50%;
        transform: translateX(-50%);
    }

    .q-section__actions{
        max-width: 100%;
    }

    .q-section__alert,
    .q-section__disclaimer,
    .q-section__desc{
        text-align: start;
    }
    .q-section__title{
        text-align: start;
        font-size: 34px;
    }


    .q-section__sheet {
        width: 100%;
        padding:16px;
        order: 1;
    }

    .q-sheet__row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        text-align: right;
    }

    .q-sheet__text {
        max-width: 100%;
    }

    .q-sheet__options {
        justify-content: flex-start;
        flex-direction: row;
    }

    .q-section {
        padding-bottom: 110px;
    }
}

/* Modal / Popup Component */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, var(--dark-purple), var(--light-purple));
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 24px;
}

.modal-overlay.is-open {
    display: flex;
    flex-direction: column;
}

.modal-close-wrap{
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
    max-width: 950px;
    width: 100%;
}
.modal-box {
    background: #ffffff;
    border: 5px solid var(--primary-red);
    border-radius: 25px;
    width: 100%;
    max-width: 950px;
    padding: 20px 30px;
    position: relative;
    box-shadow: 1px 1px 40px rgba(84, 93, 88, 0.13);
    overflow: auto;
}

.modal-close {
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1100;
}

.modal-close:hover {
    opacity: 0.8;
}

.modal__title {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary-red);
    margin-bottom: 16px;
    text-align: start;
}

.modal__desc {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 57px;
    line-height: 1.35;
    text-align: start;
}

/* Step 0 - Intro Form */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 34px;
    max-width: 454px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.modal-form__input {
    width: 100%;
    height: 43px;
    border-radius: 21.5px;
    border: 1px solid #7c7c7c;
    padding: 0 24px;
    font-size: 18px;
    text-align: right;
}

.modal-form__input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.modal__submit-btn {
    height: 43px;
    background-color: var(--primary-red);
    color: #ffffff;
    border-radius: 21.5px;
    border: none;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
}

.modal__submit-btn:hover {
    background-color: #c83b3c;
}

/* Questionnaire Steps 1-4 */
.modal-step {
    display: none;
}

.modal-step.is-active {
    display: block;
}

.modal-step__header {
    font-size: 16px;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 12px;
    text-align: center;
}

.modal-step__legend {
    font-size: 20px;
    font-weight: normal;
    color: #000000;
    margin-bottom: 24px;
    line-height: 1.4;
}

.modal-step__list {
    margin-bottom: 32px;
}

.modal-question-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--primary-red);
}


.modal-question-text {
    font-size: 20px;
    color: var(--dark-purple);
    font-weight: 400;
    max-width: 65%;
}

.modal-question-scale {
    display: flex;
    gap: 45px;
    direction: ltr;
}

.modal-scale-btn {
    width: 43px;
    height: 43px;
    border-radius: 3px;
    border: 1px solid var(--border-gray);
    background-color: var(--bg-gray);
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-scale-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.modal-scale-btn.is-active {
    background-color: var(--dark-purple);
    color: #ffffff;
    border-color: var(--dark-purple);
}

/* Modal Footer Navigation */
.modal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    position: relative;
}

.modal-nav__left-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row-reverse;
}

.modal-nav__left-group.next-is-empty {
    flex-direction: row
}

.modal-nav__btn {
    height: 43px;
    padding: 0 24px;
    border-radius: 21.5px;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-nav__btn--next {
    background-color: var(--primary-red);
    color: #ffffff;
    width: 120px;
}

.modal-nav__btn--next:hover {
    background-color: #c83b3c;
}

.modal-nav__btn--prev {
    background-color: #b4b4b4;
    color: #ffffff;
    width: 120px;
}

.modal-nav__btn--prev:hover {
    background-color: #9e9e9e;
}

.modal-nav__btn--prev.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.modal-nav__progress {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.modal__download-btn {
    width: auto;
    padding: 0 18px;
    height: 43px;
    background-color: var(--dark-purple);
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.modal-legend-item {
    white-space: nowrap;
}

.modal__download-btn:hover {
    background-color: #1c0363;
}

.modal__download-btn-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

@media(max-width:768px) {

    .modal__desc{
        margin-bottom: 40px;
    }
    .modal-overlay{
        padding: 64px 16px;
    }

    .modal-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 16px;
        column-gap: inherit;
        margin-top: 0;
        padding-top: 56px;
    }

    .modal-nav__left-group {
        display: contents;
    }

    .modal-nav__btn--prev {
        grid-column: 1;
        justify-self: start;
    }

    .modal-nav__btn--next {
        grid-column: 2;
        justify-self: end;
    }

    .modal__download-btn {
        grid-column: 1 / span 2;
        width: 100%;
        margin-top: 8px;
    }

    .modal-nav__progress {
        top: 0;
        width: 100%;
        text-align: center;
        position: absolute;
        font-size: 18px;
    }
    .modal-box {
        padding: 16px;
        border-radius: 15px;
            max-height: 100%;

    }

    .modal__submit-btn{
        margin: 0;
    }
    .modal__title {
        font-size: 28px;
    }

    .modal-form{
        margin: 0;
    }

    .modal-question-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        text-align: right;
    }

    .modal-question-text {
        max-width: 100%;
        font-size: 18px;
    }

    .modal-question-scale {
        justify-content: space-between;
        gap: 10px;
    }

    .modal-scale-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .modal-step__list{margin-bottom: 17px;}
}

/* Footer Component */
.footer {
    background-color: #ffffff;
    padding: 30px 44px 24px;
    border-bottom: 11px solid #E14546;
}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.footer__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
}

.footer__title span {
    font-weight: 400;
    color: #000000;
}

.footer__logo {
    width: 100px;
    height: 25px;
    object-fit: contain;
}

.footer__desc-box {
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #000000;
    opacity: 0.8;
    line-height: 1.4;
}

.footer__disclaimer {
    font-size: 15px;
}

.footer__code {
    font-size: 12px;
}

@media(max-width:768px) {

    .footer{
        padding: 28px 16px;
    }
    .footer__wrapper {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        margin-bottom: 10px;
    }

    .footer__desc-box {
        text-align: center;
        flex-direction: column;
        gap: 24px;
    }
}

/* SON 23.07.26 */
.hero-title {
  color: #ffffff;
  margin-bottom: 1.5rem;
  img {
    transform: translateX(101px);
    height: 95px;
    width: auto;
  }
}