/* Local font: only Regular to reduce weight */
@font-face {
    font-family: 'Comfortaa';
    src: url('fonts/comfortaa.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Comfortaa", sans-serif;
    margin: 0;
    padding: 0;
    color: black;
    scroll-behavior: smooth;
}

ul, li, a {
    padding: 0;
    margin: 0;
    list-style: none;
    color: black;
    text-decoration: none;
    transition: 0.3s all;
    &:hover {
        color: #778CEB;
    }
}
h1, h2, h3, h4, p {
    margin: 0;
    padding: 0;
}

h2 {
    font-size: 42px;
    line-height: 52px;
    font-weight: 700;
}

.hero-btn {
    width: fit-content;
    padding: 10px 25px;
    background-color: #ED145B;
    border-radius: 60px;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s all;
    font-size: 16px;
    font-weight: 600;
    font-family: Verdana, Geneva, Tahoma, sans-serif;

    &:hover {
        background-color: #778CEB;
    }
}

header, main, footer {
    background-color: white;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    font-size: 15px;
    gap: 20px;
    justify-content: space-between;

    .logo {
        display: flex;
    }

    nav {
        display: flex;
        align-items: center;
        ul {
            display: flex;
            gap: 20px;
        }
    }
    .cities {
        display: flex;
        align-items: center;
        gap: 5px;

        .dropdown {
            position: relative;
        }
        .dropbtn {
            padding: 0;
            font-size: 15px;
            border: none;
            background: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .dropdown-content {
        display: none;
        position: absolute;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        padding-top: 10px;
        margin-left: -20px;
        background-color: white;
        }
        .dropdown-content a {
        color: black;
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        font-size: 13px;

            &:hover {
                background-color: #f1f1f1;
            }
        }
        .dropdown:hover .dropdown-content {
        display: block;
        }

    }
    .phone {
        display: flex;
        align-items: center;
        gap: 5px;

        a {
            font-weight: 600;
        }
    }

    .messagers {
        display: flex;
        align-items: center;
        gap: 10px;
        .messager {
            display: flex;
            align-items: center;
            transition: 0.3s all;

            a:hover {
                opacity: 0.7;

            }
        }
    } 
}

main {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

section.hero {
    display: flex;
    gap: 20px;

    .hero-left {
        display: flex;
        flex-direction: column;
        flex: 1;
        background-color: #efefef;
        background-image: url('img/hero.webp');
        background-position: right bottom;
        background-repeat: no-repeat;
        border-radius: 40px;

        
        .hero-left--content {
            display: flex;
            flex-direction: column;
            gap: 30px;
            padding: 60px 37px 0;
            z-index: 1;

            h1 {
                font-size: 38px;
                font-weight: 700;
                line-height: 52px;
                margin: 0;
            }
            p {
                font-size: 16px;
                margin: 0;
                color: #4F4F4F;
            }
            .hero-btn {
                margin-top: 30px;
            }
        }
    }
    .hero-right {
        flex-direction: row;
        display: flex;
        flex-wrap: wrap;
        flex: 1;
        flex-grow: 1;
        gap: 10px;

        .top-block--full {
            display: flex;
            flex-wrap: wrap;
            background-color: #C1E2D0;
            padding: 48px 30px;
            border-radius: 40px;
            background-image: url('img/two-client.webp');
            background-position: right bottom;
            background-repeat: no-repeat;
            gap: 10px;

            p {
                font-size: 22px;
                line-height: 32px;
                font-weight: 600;
                color: black;
                margin-bottom: 50px;
            }

            .top-block--button {
                display: flex;
                button {
                    display: flex;
                    width: fit-content;
                    padding: 7px 15px;
                    background: white;
                    border-radius: 60px;
                    font-size: 13px;
                    font-weight: 600;
                    font-family: Verdana, Geneva, Tahoma, sans-serif;
                    gap: 10px;
                    text-transform: uppercase;
                    align-items: center;
                    border: 0;
                    transition: 0.3s all;
                    cursor: pointer;

                    &:hover {
                        background-color: #ED145B;
                        color: white;
                    }
                }
            }

            .sale {
                font-size: 40px;
            }
        }
        .top-block--half {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 30px 65px;
            color: white;
            background-color: #778CEB;
            border-radius: 40px;

        }
        .top-block--half:nth-child(2) {
            background-image: url('img/price.webp');
            background-position: right 10px bottom 10px;
            background-repeat: no-repeat;
            background-size: 80px;
            gap: 10px;

            p {
                font-size: 28px;
                font-weight: 700;

                &:last-child {
                    font-size: 16px;
                    color: black;
                    font-weight: 500;
                }
            }
        }
        .top-block--half:nth-child(3) {
            background-image: url('img/level.svg');
            background-position: right 15px bottom 15px;
            background-repeat: no-repeat;
            background-size: 65px;
            gap: 10px;

            p {
                font-size: 20px;
                font-weight: 700;
                color: black;
                text-decoration: underline;

                &:last-child {
                    font-size: 50px;
                    color: white;
                    text-decoration: none;
                }
            }
        }     
        
    }
}

section.advantages {
    display: flex;
    flex-direction: column;
    gap: 60px;

    .advantages-header {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;

        
    }
    .advantages-content {
        display: flex;
        flex-direction: row;
        gap: 20px;
        position: relative;

        .advantage-item {
            display: flex;
            flex-direction: column;
            padding: 41px 36px;
            flex: 1;
            height: 270px;
            justify-content: space-between;
            border-radius: 40px;

            h3 {
                font-size: 20px;
                font-weight: 700;
                z-index: 1;
            }

            p {
                font-size: 14px;
            }


        }

        .advantage-item:nth-child(1) {
            background-color: #EEFDD7;
            background-image: url('img/vector-1.svg');
            background-position: left bottom;
            background-repeat: no-repeat;
        }
        .advantage-item:nth-child(2) {
            background-color: #FDE9D2;
            background-image: url('img/vector-2.svg');
            background-position: right top;
            background-repeat: no-repeat;
        }
        .advantage-item:nth-child(3) {
            background-color: #E4E9FF;
            background-image: url('img/vector-3.svg');
            background-position: left bottom;
            background-repeat: no-repeat;
        }
        .advantage-item:nth-child(4) {
            background-color: #FFEBEB;
            background-image: url('img/vector-4.svg');
            background-position: right top;
            background-repeat: no-repeat;
        }
    }
}

section.services {
    display: flex;
    flex-direction: column;
    gap: 40px;

    .services-header {
        display: flex;
        flex-direction: row;
        gap: 20px;
        justify-content: space-between;

        div:nth-child(1) {
            display: flex;
            flex-direction: column;
            gap: 15px;

            span {
                color: #778CEB;
            }
        }

        .service-image--small img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 50%;
            border: 5px solid #C1E2D0;
            margin-right: -50px;

            &:last-child {
                margin-right: 0;
            }
        }
    }
    .services-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;

        .service-item {
            display: flex;
            flex-direction: column;
            padding: 60px 50px;
            height: 210px;
            border-radius: 40px;
            justify-content: space-between;

            h3 {
                font-size: 32px;
                font-weight: 700;
            }
            
            div:nth-child(1) {
                display: flex;
                flex-direction: column;
                gap: 10px;
                width: 60%;
            }
            &.one {
                width: calc(66.666% - 110px);
            }

            &.two {
                width: calc(33.333% - 110px);
            }

            img {
                width: 60px;
                height: 60px;
                transition: transform 0.3s ease; 

                &:hover {
                    transform: translateY(-10px);
                }
            }
        }

        .service-item:nth-child(1) {
            background-color: #C1E2D0;
            background-image: url('img/service/man-1.webp');
            background-position: right bottom;
            background-repeat: no-repeat;
        }
        .service-item:nth-child(2) {
            background-color: #778CEB;
            color: white;
            background-image: url('img/service/man-2.webp');
            background-position: right bottom;
            background-repeat: no-repeat;
            background-size: 270px;
        }         
        .service-item:nth-child(3) {
            background-color: #FFB27D;
            color: black;
            background-image: url('img/service/man-3.webp');
            background-position: right bottom;
            background-repeat: no-repeat;
            background-size: 270px;
        }
        .service-item:nth-child(4) {
            color: white;
            background-color: #ED145B;
            background-image: url('img/service/man-4.webp');
            background-position: right bottom;
            background-repeat: no-repeat;
        }  
    }
}

section.clients {
    display: flex;
    gap: 70px;
    flex-direction: column;
    h2 {
        text-align: center;
        span {
            color: #778CEB;
        }
    }
    .clients-content {
        display: flex;
        height: 245px;
        justify-content: space-between;
        .item {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            &:nth-child(1) {
                background-color: #ED145B;
            }
            &:nth-child(2) {
                background-color: #778CEB;
                align-self: flex-end;
            }
            &:nth-child(3) {
                background-color: #FFB27D;
            }
            &:nth-child(4) {
                background-color: #8DC63F;
                align-self: flex-end;
            }
            p {
                color: white;
                text-transform: uppercase;
                font-weight: 600;
                font-size: 12px;
                line-height: 18px;
                align-self: center;
                text-align: center;
                width: 150px;
                max-height: 115px;
                word-break: break-word;
                span {
                    font-size: 38px;
                    line-height: 30px;
                    font-weight: 700;
                }
            }
        }
    }
}

section.about {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    gap: 70px;

    .about-left {
        display: flex;
        flex-direction: column;
        gap: 18px;
        flex: 1;
        justify-content: space-around;

        h2 {
            font-size: 38px;
            line-height: 52px;
            font-weight: 700;
        }
        p {
            font-size: 15px;
            color: #4F4F4F;
            letter-spacing: -0.5px;
            line-height: 1.55;
        }
        .p-head {
            color: black;
        }
        .more {
            display: flex;
            gap: 27px;
            font-family: Verdana, Geneva, Tahoma, sans-serif;
            font-weight: 600;
            justify-content: flex-end;
            align-items: center;

            a {
                display: flex;
                align-items: center;
                transition: transform 0.3s ease; 

                &:hover {
                    transform: translateY(-5px);
                }
            }
        }
    }
    .about-right {
        flex: 1;
        img {
            width: 100%;
            border-radius: 40px;
        }
    }
}

section.callback {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding: 70px 50px;
    background-color: #E4E9FF;
    border-radius: 40px;
    background-image: url(img/call.webp);
    background-repeat: no-repeat;
    background-position: right center;
    .callback-info {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 620px;
        p {
            line-height: 28px;
        }
    }
    .callback-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
        form {
            display: flex;
            flex-direction: row;
            gap: 26px;

            div {
                display: flex;
                flex-direction: column;
                gap: 12px;
                label {
                    font-size: 11px;
                    line-height: 20px;
                    font-weight: 700;
                    text-transform: uppercase;
                }
                input {
                    min-width: 270px;
                    height: 60px;
                    border-radius: 10px;
                    border: none;
                    padding: 0 15px;
                    color: #99A8ED;
                    font-size: 16px;
                    line-height: 28px;
                }
                .form-phone {
                    background-image: url(img/phone.svg);
                    background-repeat: no-repeat;
                    background-position: right 20px center;
                }
            }
            button {
                width: 250px;
                padding: 10px 25px;
                background-color: #ED145B;
                border-radius: 60px;
                color: white;
                border: none;
                cursor: pointer;
                display: flex;
                align-items: center;
                gap: 10px;
                transition: 0.3s all;
                font-size: 16px;
                font-weight: 600;
                font-family: Verdana, Geneva, Tahoma, sans-serif;
                margin-top: 30px;
                justify-content: center;
                
                &:hover {
                    background-color: #778CEB;
                }
            }
        }
        .form-info {
            color: #9F9F9F;
            font-size: 12px;
        }
        .success-message {
            text-align: center;
            padding: 30px;
            font-size: 18px;
            line-height: 1.6;
            p {
                margin: 0;
                text-align: left;
            }
        }
    }    
}
section.table {
    display: flex;
    flex-direction: column;
    gap: 30px;
    h2 {
        text-align: center;
        margin: 30px 0;
        span {
            color: #778CEB;
        }
    }
    table {
        width: 100%;
        border-collapse: collapse;
        text-align: center;

        th, td {
            padding: 15px;
            border: 1px solid #ddd;
        }
        th {
            background-color: #C1E2D0;
            font-weight: 600;
            border: 2px solid white;
        }

        thead th:first-child {
            background-color: white;
        }
        thead th:last-child {
            border-top-right-radius:40px;
        }
        tbody tr:last-child th:first-child {
            border-bottom-left-radius:40px;
        }
        tbody tr td:last-child {
            border-right: none;
        }
        tbody tr:last-child td {
            border-bottom: none;
        }
    }
}
section.reviews {
        display: flex;
    flex-direction: column;
    gap: 40px;

    .reviews-header {
        display: flex;
        flex-direction: row;
        gap: 20px;
        justify-content: space-between;

        div:nth-child(1) {
            display: flex;
            flex-direction: column;
            gap: 15px;

            span {
                color: #778CEB;
            }
        }
        .reviews-image--small {
            display: flex;
            flex-direction: row-reverse;
        }
        .reviews-image--small img {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 50%;
            border: 5px solid #C1E2D0;
            margin-right: -50px;

            &:first-child {
                margin-right: 0;
            }
        }
    }

    .reviews-content {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        .review-item {
            display: inherit;
            flex-direction: column;
            padding: 45px;
            flex: 0 1 calc((100% - 310px) / 3);
            gap: 20px;
            align-items: center;
            text-align: center;
            border-radius: 40px;
            background-color: #E4E9FF;
            h3 {
                font-size: 22px;
                font-weight: 700;
                line-height: 32px;
            }
            p {
                color: #333333;
                font-size: 14px;
                line-height: 26px;
            }
            .review-info {
                display: flex;
                align-items: center;
                gap: 20px;
                img {
                    width: 60px;
                    height: 60px;
                    object-fit: cover;
                    border-radius: 50%;
                }
                h4, p {
                    font-size: 13px;
                    font-weight: 600;
                }
                p {
                    color: #828282;
                }
            }
        }
    }
}
@keyframes quizFadeIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

section.quiz {
    display: flex;
    flex-direction: column;
    gap: 40px;

    .quiz-header {
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: center;

        span {
            color: #ED145B;
        }
        p {
            font-size: 16px;
            color: #4F4F4F;
        }
    }

    .quiz-container {
        background: linear-gradient(135deg, #EEF1FF 0%, #FFF0F4 100%);
        border-radius: 40px;
        padding: 50px 60px;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .quiz-progress {
        display: flex;
        flex-direction: column;
        gap: 8px;

        .quiz-progress-bar {
            height: 6px;
            background: #dce0f0;
            border-radius: 3px;
            overflow: hidden;
        }
        .quiz-progress-fill {
            height: 100%;
            background: #ED145B;
            border-radius: 3px;
            transition: width 0.4s ease;
            width: 0%;
        }
        .quiz-step-label {
            font-size: 14px;
            color: #828282;
        }
    }

    .quiz-steps {
        min-height: 180px;
    }

    .quiz-step {
        display: none;
        flex-direction: column;
        gap: 28px;
        animation: quizFadeIn 0.3s ease;

        &.active {
            display: flex;
        }

        h3 {
            font-size: 26px;
            font-weight: 700;
            line-height: 36px;
        }
        & > p {
            font-size: 15px;
            color: #4F4F4F;
        }
    }

    .quiz-options {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .quiz-option {
        padding: 16px 28px;
        border: 2px solid #dce0f0;
        border-radius: 60px;
        background: #778CEB;
        cursor: pointer;
        font-size: 16px;
        font-family: "Comfortaa", sans-serif;
        transition: 0.25s all;
        color: white;

        &:hover {
            border-color: #ED145B;
            background: #ED145B;
            color: white;
        }
    }

    .quiz-final {
        gap: 22px;
    }

    .quiz-estimate {
        background: white;
        border-radius: 24px;
        padding: 30px 36px;
        display: flex;
        flex-direction: column;
        gap: 8px;

        .quiz-estimate-label {
            font-size: 14px;
            color: #828282;
        }
        .quiz-estimate-value {
            font-size: 38px;
            font-weight: 700;
            color: #ED145B;
            line-height: 1.1;
        }
        .quiz-estimate-note {
            font-size: 13px;
            color: #828282;
        }
    }

    .quiz-form {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        align-items: center;

        input[type="tel"] {
            flex: 1;
            min-width: 240px;
            padding: 14px 22px;
            border: 2px solid #dce0f0;
            border-radius: 60px;
            font-size: 16px;
            font-family: "Comfortaa", sans-serif;
            outline: none;
            background: white;
            transition: border-color 0.2s;

            &:focus {
                border-color: #778CEB;
            }
        }
    }

    .quiz-nav {
        display: flex;
        align-items: center;
        min-height: 24px;
    }

    .quiz-btn-back {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 15px;
        font-family: "Comfortaa", sans-serif;
        color: #828282;
        padding: 0;
        transition: color 0.2s;

        &:hover {
            color: #ED145B;
        }
        &.hidden {
            visibility: hidden;
            pointer-events: none;
        }
    }
}
section.info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 50px;
    border-top: 1px dashed #778CEB;

    h2 {
        text-align: center;
        span {
            color: #ED145B;
        }
    }
    .info-content {
        background-color: white;
        color: #333333;
        font-size: 15px;
        line-height: 28px;
        padding: 30px;
        p {
            padding: 10px 0;
        }
    }
}
section.calculator {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 50px;
    .calculator-header {
        display: inherit;
        flex-direction: column;
        gap: 20px;
        h2 {
            text-align: center;
            span {
                color: #778CEB;
            }
        }
        p {
            text-align: center;
            font-size: 15px;
            line-height: 28px;
            max-width: 600px;
            align-self: center;
        }
    }
    .calculator-content {
        display: inherit;
        flex-direction: row;
        gap: 20px;
        .calculator-content--left {
            display: flex;
            flex-direction: column;
            gap: 20px;
            flex: 3;
            p {
                border-top: 1px dashed #778CEB;
                font-size: 14px;
                line-height: 26px;
                padding-top: 20px;
                &:last-child {
                    color: #4F4F4F;
                }
            }
            .calc-form {
                display: inherit;
                flex-direction: column;
                gap: 20px;
                .form-row {
                    display: flex;
                    flex-direction: row;
                    gap: 20px;
                    justify-content: space-between;
                    background-color: #C1E2D0;
                    padding: 10px 17px;
                    align-items: center;
                    label {
                        display: flex;
                        align-items: center;
                        white-space: nowrap;
                    }
                    input {
                        border: none;
                        height: 30px;
                        border-radius: 20px;
                        padding: 0 10px;
                        width: 150px;
                        font-size: 16px;
                        outline: none;
                        &:focus {
                            box-shadow: 0 0 0 2px #778CEB;
                        }
                    }
                }
                div {
                    display: flex;
                    flex-direction: row;
                    gap: 20px;
                    justify-content: space-between;
                    background-color: #C1E2D0;
                    padding: 10px 17px;
                    label {
                        display: flex;
                        align-items: center;
                    }
                    input {
                        border: none;
                        height: 30px;
                        border-radius: 20px;
                        padding: 0 10px;
                        width: 150px;
                        font-size: 16px;
                    }
                }
                button {
                    align-self: center;
                    width: fit-content;
                    padding: 10px 25px;
                    background-color: #ED145B;
                    border-radius: 60px;
                    color: white;
                    border: none;
                    cursor: pointer;
                    display: flex;
                    align-items: center;
                    transition: 0.3s all;
                    font-size: 16px;
                    font-weight: 600;
                    font-family: Verdana, Geneva, Tahoma, sans-serif;

                    &:hover {
                        background-color: #778CEB;
                    }
                }
            }
        }
        .calculator-content--right {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 30px;
            padding: 50px;
            background-color: #778CEB;
            border-radius: 0 40px 40px 0;
            background-image: url('img/calc.webp');
            background-repeat: no-repeat;
            background-position: bottom right;
            color: white;
            h3 {
                font-size: 28px;
                font-weight: 700;
                line-height: 38px;
            }
            span {
                font-weight: 700;
            }
            button {
                margin-top: 20px;
                font-size: 12px;
                transition: none;
                &:hover {
                    background-color: #C1E2D0;
                    color: black;
                    path {
                        fill: black;
                    }
                }
            }
        }
    }
}
.services-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    .services-info--content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        .service-info--item {
            display: inherit;
            flex-direction: row-reverse;
            gap: 40px;
            &:nth-child(2n), &:nth-child(4n) {
                flex-direction: row;
            }
            div {
                display: flex;
                flex-direction: column;
                gap: 15px;
            }
            h3 {
                font-size: 28px;
                line-height: 38px;
                font-weight: 700;
            }
            p {
                line-height: 26px;
            }
        }
    }
}
section.portfolio {
    display: flex;
    flex-direction: column;
    gap: 40px;

    .portfolio-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        .item {
            span {
                color: #ED145B;
                font-size: 52px;
            }
        }
    }
    .sw-container {
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        background: #f9f9f9;
    }
    .sw-viewport { overflow: hidden; }
    .sw-wrapper {
        display: flex;
        transition: transform 0.35s ease;
        will-change: transform;
    }
    .sw-slide {
        min-width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .sw-slide img {
        width: 100%;
        height: 420px;
        object-fit: cover;
        border-radius: 8px;
    }
    .sw-caption {
        font-weight: 600;
        color: #333;
        margin-top: 6px;
    }
    .sw-btn {
        position: absolute;
        top: 92%;
        transform: translateY(-50%);
        z-index: 5;
        background: #C1E2D0;
        border: none;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        span {
            font-size: xxx-large;
            color: black;
        }
    }
    .sw-left { left: 12px; }
    .sw-right { right: 12px; }
    .sw-pagination {
        position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 6;
    }
    .sw-pagination .dot {
        width: 50px;
        height: 8px;
        background: white;
        border: 0;
        border-radius: 5px;
    }
    .sw-pagination .dot.active { background: #C1E2D0; }

    @media (min-width: 900px) {
        .sw-slide img { height: 420px; }
    }

    /* Row of two sliders: one-third + two-thirds */
    .portfolio-swipers-row {
        display: flex;
        gap: 20px;
        margin-top: 20px;
    }
    .portfolio-swipers-row .portfolio-swipper {
        display: block;
        box-sizing: border-box;
        min-width: 0; /* allow flex items to shrink properly */
    }
    /* Use flex-grow ratios instead of fixed basis to avoid overflow when gap is present */
    .portfolio-swipers-row .portfolio-swipper.one-third { flex: 1 1 0%; }
    .portfolio-swipers-row .portfolio-swipper.two-thirds { flex: 2 1 0%; }
    .portfolio-swipers-row .sw-container { width: 100%; box-sizing: border-box; }
    .portfolio-swipers-row .one-third .sw-slide img { height: 420px; }
    .portfolio-swipers-row .two-thirds .sw-slide img { height: 420px; }

    @media (max-width: 900px) {
        .portfolio-swipers-row { flex-direction: column; }
        .portfolio-swipers-row .one-third .sw-slide img,
        .portfolio-swipers-row .two-thirds .sw-slide img { height: 300px; }
    }

    button {
        align-self: center;
    }
}
section.faq {
    display: flex;
    flex-direction: column;
    gap: 30px;
    h2 {
        span {
            color: #778CEB;
        }
    }
    .faq-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0 50px;
        .faq-item {
            display: flex;
            flex-direction: column;
            h3 {
                background-color: #C1E2D0;
                height: 40px;
                display: flex;
                align-items: center;
                padding: 0 20px;
                border-radius: 20px 20px 0 0;
            }
            p {
                padding: 20px;
            }
        }
    }
}
section.stage {
    display: flex;
    flex-direction: column;
    gap: 30px;
    .stage-header {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        h2 {
            span {
                color: #778CEB;
            }
        }
        p {
            font-size: 20px;
        }
    }
    .stage-content {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        .item {
            flex: 0 0 calc(25% - 15px);
            margin-top: 80px;
            display: flex;
            flex-direction: column;
            align-items: center;
            .number {
                font-size: 50px;
                background-color: #8DC63F;
                width: 80px;
                height: 80px;
                border-radius: 50%;
                display: flex;
                justify-content: center;
                align-items: center;
                position: absolute;
                margin-top: -60px;
                border: 5px solid white;
            }
            img {
                width: 100%;
                border-radius: 20px;
                max-width: 400px;
            }
            h3 {
                text-align: center;
                padding: 20px;
            }
        }
    }
}
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;

    .info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        p {
            font-size: 10px;
            color: #828282;
        }
    }
    .menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
        h3 {
            font-size: 18px;
            font-weight: 700;
            text-decoration: underline;
            margin-bottom: 15px;
        }
        a {
            font-size: 14px;


            &:hover {
                color: #ED145B;
            }
        }   
    }
    .contact {
        display: flex;
        flex-direction: column;
        gap: 30px;
        .phone {
            display: flex;
            align-items: center;
            gap: 10px;

            a {
                color: #180A53;
                font-weight: 600;
                font-size: 20px;
            }
        }
        button {
            font-size: 13px;
        }
    }
}

.sticky-quiz-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    padding: 14px 22px;
    border-radius: 60px;
    background: linear-gradient(135deg, #ED145B 0%, #ff6f61 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 14px 30px rgba(237, 20, 91, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;

    &:hover {
        color: white;
        transform: translateY(15px);
        box-shadow: 0 18px 36px rgba(119, 140, 235, 0.35);
    }

    &.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}