* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Manrope";
    src: url("../../fonts/Manrope.ttf") format('woff2');  /* .ttf -> truetype */
    src: url("../../fonts/Manrope.ttf") format('woff');  /* .ttf -> truetype */
    src: url("../../fonts/Manrope.ttf") format('truetype');  /* .ttf -> truetype */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Manmore";  /* Опечатка? Manrope? */
    src: url("../../fonts/Manrope.ttf") format('woff2');
    src: url("../../fonts/Manrope.ttf") format('woff');
    src: url("../../fonts/Manrope.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url("../../fonts/Roboto.ttf") format('woff2');
    src: url("../../fonts/Roboto.ttf") format('woff');
    src: url("../../fonts/Roboto.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Helvetica-Bold";
    src: url("../../fonts/Helvetica-Bold.ttf") format('woff2');
    src: url("../../fonts/Helvetica-Bold.ttf") format('woff');
    src: url("../../fonts/Helvetica-Bold.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Helvetica-Light";
    src: url("../../fonts/helvetica-light.otf") format('woff2');
    src: url("../../fonts/helvetica-light.otf") format('woff');
    src: url("../../fonts/helvetica-light.otf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Manmore-ExtraLight";
    src: url("../../fonts/manrope-extralight.ttf") format('woff2');
    src: url("../../fonts/manrope-extralight.ttf") format('woff');
    src: url("../../fonts/manrope-extralight.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

a,
p,
h1,
h2,
h3,
h4,
h5 {
    font-family: "Manrope";
}

body {
    font-family: "Manrope";
    margin: 0;
}

@media (min-width: 1600px) {
    body {
        zoom: 1.25;
        transform-origin: top center;
    }
}




.header {
    position: absolute;
    display: flex;
    justify-content: center;
    height: auto;
    z-index: 5;
    width: 100%;
}

.header__container {
    padding-top: 40px;
    padding-right: 132px;
    padding-bottom: 40px;
    padding-left: 132px;
    width: 100%;
}

.header__content {
    background: rgba(255, 255, 255, 1);
    border-radius: 21px;
    display: flex;
    flex-direction: row;
    padding: 20px 100px;
    justify-content: space-between;
    align-items: center;
}

.header__buttons--shop a {
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -3%;
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
}

.header__buttons--img img {
    width: 60px;
    height: 60px;
}

.header__links--item {
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -3%;
}

.shop {
    display: none;
}

.header__links {
    display: flex;
    column-gap: 20px;
    flex-direction: row;
}

.open{
    display:none;
}

.header__links a {
    color: rgba(0, 0, 0, 1);
    text-decoration: none;
}

.header__burger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #000;
    border-radius: 2px;
    margin: 5px 0;
    transition: 0.3s;
}

.header__buttons {
    display: flex;
    column-gap: 20px;
    flex-direction: row;
    padding-left: 36px;
    align-items: center;
}

.transparent-button {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 5px 5px;
}

.active {
    background: rgba(196, 50, 26, 1);
    border-color: rgba(196, 50, 26, 1);
    color: white;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.bottom-button {
    margin-top: 20px;
}

.bottom-button a {
    padding: 11px 122px;
}

.transparent-button:hover {
    background: #E5B31A;
    border-color: #E5B31A;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

main {
    width: 100%;
}

.helvetica-text {
    font-family: Helvetica, Arial, sans-serif;
}

.search-container {
    position: relative;
    width: 70%;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    background: #ffffff69;
    border: none;
    border-radius: 15px;
    padding: 15px 50px 15px 20px;
    font-size: 16px;
    color: #00080f;
    transition: all 0.3s ease;
    outline: none;
    text-align: center;
}

.header__buttons--reg button {
    opacity: 1;
    border-radius: 8px;
    padding: 5px 15px 10px 15px;
    gap: 10px;
    border-width: 1px;
    border: 1px solid rgba(0, 0, 0, 1);
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    background: none;
    letter-spacing: -3%;
    color: rgba(17, 4, 1, 1);
}

.header__buttons--login button {
    opacity: 1;
    border-radius: 8px;
    padding: 5px 15px 10px 15px;
    gap: 10px;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -3%;
    color: rgba(255, 255, 255, 1);
    background: rgba(196, 50, 26, 1);
    border: none;
}

.search-input::placeholder {
    color: #000;
    text-align: center;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

/* Первая секция */
.first-section {
    position: relative;
    width: 100%;
    height: 1150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1150px;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17, 4, 1, 0) 0%, rgba(17, 4, 1, 0.48) 69.47%);
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    width: 85%;
    height: 690px;
    padding: 0 20px;
}

.circle {
    border: 1px solid #000;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle img {
    width: 15px;
    height: 15px;
}

.stats {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 228px 0px 90px 0px;
}

.stats-block-text {
    font-family: var(--second-family);
    font-size: 40px;
    text-align: center;
    color: #fff;
}

.stats-block-text h2 {
    font-family: "Helvetica-Bold";
    font-size: 70px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

.stats-block-text p {
    font-family: "Helvetica-Light";
    font-size: 40px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}


.first-section .text {
    margin-top: 200px;
    font-weight: 700;
    font-size: 40px;
    padding-bottom: 60px;
    letter-spacing: -0.03em;
    text-align: center;
    color: #fff;
}

/* Разделитель секций */
.section-divider {
    position: relative;
    width: 100%;
    z-index: 10;
    height: auto;
}

.color-div {
    width: 100%;
    height: 98px;
    background: #e5b31a;
    position: relative;
    z-index: 13;
    display: flex;
    justify-content: center;
    font-family: Helvetica;
    font-size: 44px;
    font-weight: 700;
    line-height: 100%;
    align-items: center;
    color: #ffffff;
}

.divider-image {
    width: 100%;
    height: auto;
    position: absolute;
    top: -85px;
    left: 0;
    display: block;
    object-fit: cover;
    z-index: 11;
}

/* Вторая секция */
.second-section {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 20px 50px;
    margin-top: 0;
}

.second-section .content {
    color: #000000;
    z-index: 12;
    position: relative;
    margin-bottom: 30px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.second-section .overlay {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    background: url(../../images/home/image_2.png);
    z-index: 2;
}

.pdf-content {
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin: 50px 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    border-right: 1px solid white;
}

.pdf-content h2 {
    position: relative;
    z-index: 10;
    font-weight: 200;
    font-size: 70px;
    color: #ffffff;
    font-family: 'Manmore-ExtraLight';
    font-weight: 200;
    font-size: 70px;
    line-height: 100%;
    letter-spacing: -3%;
    text-align: center;

}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    color: #ffffff;
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1;
    display: flex;
    align-items: flex-end;
}

.stat-number span {
    font-weight: 400;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: -3%;
    text-align: center;
}

.stat-label {
    font-weight: 300;
    font-size: 30px;
    line-height: 100%;
    letter-spacing: -3%;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    color: #ffffff;
    line-height: 1.2;
}

/* Третья секция */
.third-section {
    position: relative;
    width: 100%;
    height: 1000px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 20px 0px;
    margin-top: 0;
    overflow: hidden;
}

.third-section .divider-image {
    width: 80%;
    height: auto;
    position: absolute;
    top: 0px;
    left: 10%;
    display: block;
    object-fit: cover;
    z-index: 11;
}

.third-section .content {
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.third-section h2 {
    color: #c4321a;
    font-family: "Roboto";
    font-size: 43px;
    font-weight: 700;
    line-height: 50px;
    margin-top: 85px;
}

.third-section .buttons-grid {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;
    width: 100%;
    margin-top: 40px;
}

.third-section .button-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.button-split {
    font-family: "Manrope";
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(0, 0, 0, 1);
}

.transparent-button-active {
    background: rgba(196, 50, 26, 1) !important;
    border: 1px solid rgba(196, 50, 26, 1);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.third-section .transparent-button {
    background: transparent;
    border: none;
    color: #000;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 5px 5px;
    font-family: "Manrope";
    font-size: 20px;
    font-weight: 500;
    line-height: 27px;
    padding: 5px 20px;
}

.third-section .transparent-button:hover {
    background: rgba(196, 50, 26, 1);
    border: 1px solid rgba(196, 50, 26, 1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.third-section .offers {
    display: flex;
    width: 100%;
    justify-content: right;
    margin: 0px 0px;
    height: 60%;
}

.arrow-opacity {
    opacity: 0.4;
}

.third-section .block-text h2 {
    color: #000000;
    font-size: 23px;
    font-family: "Manrope";
    font-weight: 500;
    font-size: 23px;
    line-height: 26px;
    letter-spacing: 0%;

}

.third-section .block-text a {
    color: #000000;
    font-family: Manrope;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
}

.third-section .block-text {
    color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: start;
}

.third-section .block-text img {
    margin-right: 12px;
    width: 18px;
}

.third-section .block-image {
    background: url(../../images/home/painter.png);
    width: 50%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-width: 540px;
    min-height: 620px;
    max-width: 580px;
}

.third-section .block-text h2 {
    margin: 40px 0px;
}

.third-section .block-text .block-sentense {
    margin: 8px 0px;
}

/* Четвертая секция */
        .fourth-section {
            position: relative;
            width: 100%;
            height: 950px;
            background: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 100px 20px 0px;
            margin-top: 0;
            overflow: hidden;
        }

        .fourth-section .content {
            width: 80%;
            height: 95%;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;
        }

        .questions__img {
            margin-bottom: 17px;
            margin-left: 10px;
            position: absolute;
        }

        .fourth-section h2 {
            font-family: "Roboto";
            font-size: 43px;
            font-weight: 700;
            line-height: 50px;
            color: #e74c3c;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .fourth-section svg {
            margin-bottom: 14px;
        }

        .slides-container {
            width: 100%;
            overflow: hidden;
            position: relative;
        }

     .slides-wrapper {
            display: flex;
            transition: transform 0.5s ease;
            user-select: none;
            /* Убираем начальное смещение */
            transform: translateX(0%);
        }

        .slide {
            min-width: 100%;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .fourth-section h3 {
            font-weight: 500;
            font-style: Medium;
            font-size: 20px;
            line-height: 100%;
            letter-spacing: 0%;
            color: rgba(17, 4, 1, 1);
            margin: 30px 0px;
        }

        .fourth-section p {
            font-family: "Manrope";
            font-size: 20px;
            font-weight: 500;
            line-height: 23px;
            text-align: left;
            color: rgba(17, 4, 1, 1);
            font-family: Manrope;
            font-weight: 300;
            font-style: Light;
            font-size: 14px;
            line-height: 24px;
            letter-spacing: 0%;
        }

        .fourth-section .dots-block {
            width: 10%;
            display: flex;
            justify-content: space-between;
        }

        .fourth-section .circle {
            width: 10px;
            height: 10px;
            background: #c4311a41;
            border-color: #c4311a41;
            border-radius: 50%;
            cursor: pointer;
        }

        .fourth-section .active {
            width: 10px;
            height: 10px;
            background: #c4311a;
            border-color: #c4311a;
            border-radius: 50%;
        }

        .arrows {
            position: absolute;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;
            width: 85%;
            top: 0;
            pointer-events: none;
        }

        .arrow {
            pointer-events: all;
            cursor: pointer;
            opacity: 0.7;
            transition: opacity 0.3s;
        }

        .arrow:hover {
            opacity: 1;
        }

        .arrow-right {
            width: 0;
            height: 0;
            border-top: 26px solid transparent;
            border-bottom: 26px solid transparent;
            border-left: 35px solid #c4311a;
        }

        .arrow-left {
            width: 0;
            height: 0;
            border-top: 26px solid transparent;
            border-bottom: 26px solid transparent;
            border-right: 35px solid #c4311a;
        }

/* Пятая секция */
.five-section {
    position: relative;
    width: 100%;
    height: 660px;
    background: url(../../images/home/Frame_66.png);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px 0px;
    margin-top: 0;
}


.five-section h2 {
    font-size: 43px;
    font-weight: 700;
    position: relative;
}

.five-section h3 {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.five-section img {
    margin-bottom: 17px;
    margin-left: 10px;
}

.five-section .text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
}

.five-section .dots-block {
    width: 10%;
    display: flex;
    justify-content: space-between;
}

.five-section .circle {
    width: 10px;
    height: 10px;
    background: #ffffff42;
    border-color: #ffffff42;
}

.five-section .active {
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-color: #ffffff;
}



.five-section .arrow-right {
    width: 0;
    height: 0;
    border-top: 26px solid transparent;
    border-bottom: 26px solid transparent;
    border-left: 35px solid #ffffff;
}

.five-section .arrow-left {
    width: 0;
    height: 0;
    border-top: 26px solid transparent;
    border-bottom: 26px solid transparent;
    border-right: 35px solid #ffffff;
}

/* Блок "Как работает платформа" */
.how-it-works {
    padding: 0px 0;
    background: #f8f9fa;
    border-radius: 27px;
}

.how-it-works .container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.how-it-works .header {
    position: relative;
    width: 100%;
    height: 100px;
    background: #c4311a;
    color: #ffffff;
    margin-top: 0px;
    border-radius: 27px 27px 0px 0px;
    margin-bottom: 35px;
}

.section-title {
    text-align: center;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 42px;
    font-weight: 300;
    color: #2c3e50;
    width: 85%;
    display: flex;
    justify-content: flex-start;
    align-items: end;
}

/* Сетка шагов */
.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 55px;
    position: relative;
    padding: 20px 20px;
}

/* Элемент шага */
.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    min-height: 280px;
    padding: 0px 30px;
}

/* Номер шага */
.step-number {
    width: 60px;
    height: 60px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

/* Контент шага */
.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.five-section .step-content h3 {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.step-title {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.step-description {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    text-align: center;
}

/* Стрелки между шагами */
.step-arrow {
    position: absolute;
    right: -70px;
    top: 80px;
    z-index: 1;
}


.five-section .content:active {
    cursor: grabbing;
}


.five-section .how-it-works{
    width: 27%;
    flex-shrink: 0;
    /* margin: 0% 3.16%; */
}



.five-section .content {
    position: relative;
    z-index: 3;
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    height: 95%;
    padding: 0px 0px;
    overflow: hidden; /* Скрываем все что выходит за границы */
    cursor: grab;
}

.five-section .content:active {
    cursor: grabbing;
}

.five-section .text-block {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%; /* 3 слайда по 100% каждый */
    transition: transform 0.5s ease;
    user-select: none;
}

.five-section .how-it-works {
    width: 96%;
    margin: 0% 2%;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Остальные стили остаются без изменений */
.how-it-works .container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 27px;
    overflow: hidden;
}

.how-it-works .header {
    position: relative;
    width: 100%;
    height: 100px;
    background: #c4311a;
    color: #ffffff;
    margin-top: 0px;
    border-radius: 27px 27px 0px 0px;
    margin-bottom: 35px;
}

.five-section .arrows {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 95%;
    width: 90%;
    top: 0;
    pointer-events: none;
    z-index: 10;
}

.five-section .arrow-left,
.five-section .arrow-right {
    pointer-events: all;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 11;
}



/* .arrow {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid #e74c3c;
} */

/* Шестая секция */
.six-section {
    position: relative;
    width: 100%;
    height: 520px;
    background: url(../../images/home/Rectangle_38.png);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px 0px;
    margin-top: 0;
}

.six-section .divider-image {
    width: 80%;
    height: auto;
    position: absolute;
    top: 0px;
    left: 10%;
    display: block;
    object-fit: cover;
    z-index: 11;
}

.six-section .content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    width: 85%;
    height: 100%;
    flex-direction: column;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.six-section .text {
    margin-top: 200px;
    font-weight: 700;
    font-size: 40px;
    padding-bottom: 60px;
    letter-spacing: -0.03em;
    text-align: center;
    color: #fff;
}

.six-section .background-image {
    height: 520px;
}

.footer {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    background: #E5B31A;
    flex-direction: column;
    align-items: center;
}

.footer__container {
    width: 80%;
    padding: 40px 0px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: -0.03em;
    color: #fff;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    gap: 50px;
    line-height: 35px;
}

.down {

    display: flex;
    flex-direction: row;
    padding: 15px;
}

.footer__container p {
    margin: 0;
}

.footer__container h4 {
    margin: 0;
}

.down h3 {
    font-weight: 300;
    font-size: 14px;
    letter-spacing: -0.03em;
    color: #000;
}

.footer .block-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.footer__item--btb {
    height: 23px;
}

.footer__item--header {
    display: flex;
    gap: 10px;
}

.footer__item--im {
    width: 20px;
}

.footer__item--a {
    width: 16px;
}

.footer__item--xalva {
    height: 12px;
}

.footer__item--container {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px
}


.footer__logo {
    height: 16px;
    width: 100%;
}

.footer__down {
    background: white;
    width: 100%;
    padding: 20px 132px;
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -3%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

@media (max-width: 1224px) {
    .header__burger {
        display: block;
        margin-bottom: 10px;
    }

    .third-section .transparent-button {
        font-size: 15px;
        line-height: 23px;
    }

    .divider-image {
        width: 100%;
        height: 300px;
        position: absolute;
        bottom: -169px;
        left: 0;
        display: block;
        object-fit: cover;
        z-index: 11;
    }

    .divider-image {
        top: -90px;
    }

    .color-div {
        height: 85px;
    }


    .profile__articles--header {
        flex-direction: column;
        row-gap: 20px;
    }

    .profile__articles--split {
        display: none;
    }

    .shop {
        display: block;
    }

    .header__links {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 20px;
        row-gap: 14px;
    }

    .header__links.active {
        display: flex;
    }

    .open{
        display: flex;
    }

    .header__buttons {
        display: none;
    }

    .profile__article-card--container {
        flex-direction: column;
        row-gap: 20px;
    }

    .profile__article-card--img img {
        width: 100%;
    }

    .profile__article-card--body {
        padding: 20px;
    }

    .footer__container {
        flex-direction: column;
        row-gap: 10px;
    }

    .footer__down {
        padding: 20px 20px;
        flex-direction: column;
        gap: 20px;
    }

    .accordion__content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .accordion.active .accordion__content {
        max-height: 500px;
        padding: 8px 0;
    }

    .accordion__title {
        cursor: pointer;
        position: relative;
        padding-right: 20px;
    }

    footer .active {
        background: none;
        border: none;
        box-shadow: none;
    }

    .accordion__title::after {
        content: "▼";
        position: absolute;
        right: 0;
        transition: transform 0.3s;
    }

    .accordion.active .accordion__title::after {
        transform: rotate(-180deg);
    }

    .header__container {
        padding: 0;
    }

    .header__content {
        border-radius: 0;
        padding: 20px;
    }


    .fourth-section {
        position: relative;
        width: 100%;
        height: 1050px;
    }


}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {

    .third-section .buttons-grid {
        gap: 40px;
    }

    .third-section .button-item {
        border: 0;
    }

    .button-split {
        display: none;
    }

    .five-section {
        height: 900px;
    }

    .step-arrow {
        display: none;
    }

    .fourth-section {
        position: relative;
        width: 100%;
        height: 1450px;
    }

    .third-section {
        height: 1487px;
    }

    .third-section .offers {
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        min-height: auto;
        flex-direction: column;
        text-align: center;
        align-items: center;
        width: 100%;
    }

    .steps-grid{
        padding-bottom: 50px;
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        right: -35px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-description {
        font-size: 15px;
    }
}


/* Адаптивность для мобильных */
@media (max-width: 768px) {


    .divider-image {
        height: 200px;
    }

    .divider-image {
        top: -65px;
    }

    .color-div {
        height: 60px;
        font-size: 32px;
    }

    .bottom-button a {
        padding: 12px 30px;
        font-size: 22px;
    }

    .first-section {
        height: 1400px;
    }

    .background-image {
        height: 1400px;
    }

    .second-section {
        height: 1000px;
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        padding-bottom: 50px;
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        border-right: 0;
    }

    .five-section {
        height: 1250px;
    }

    .five-section .dots-block {
        gap: 10px;
        width: auto;
    }


    .arrows {
        display: none;
    }

    .five-section .arrows {
        display: none;
    }


    .stats {
        flex-direction: column;
        gap: 40px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }



    .step-item {
        min-height: auto;
        flex-direction: column;
        text-align: center;
        align-items: center;
        width: 100%;
    }


    .step-number {
        margin-bottom: 0;
        margin-right: 20px;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .step-content {
        align-items: flex-start;
        text-align: left;
        flex: 1;
    }

    .step-description {
        text-align: left;
    }

    .step-arrow {
        display: none;
    }

    .fourth-section .content {
        width: 100%;
    }

    .third-section .block-image {
        background: url(../../images/home/painter.png);
        background-size: cover;
        background-position: center;
        min-width: 351px;
        min-height: 379px;
        max-width: 580px;
    }

}

/* Адаптивность для маленьких мобильных */
@media (max-width: 480px) {

    .six-section {
        padding: 0px;
    }

    .fourth-section {
        padding: 100px 0px 0px;
        height: 1630px;
    }

    .fourth-section .dots-block {
        margin-top: 20px;
        width: auto;
        gap: 20px;
    }

    .fourth-section {
        padding: 100px 0px 0px;
    }


    .pdf-content h2 {
        font-size: 48px;
    }

    .five-section .content {
        width: 100%;
    }



    .steps-grid {
        padding-bottom: 30px;
    }


    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .step-content {
        align-items: center;
        text-align: center;
    }

    .step-description {
        text-align: center;
    }

    .step-title {
        font-size: 18px;
    }

    .step-description {
        font-size: 14px;
    }
}

/* Дополнительные улучшения */
.step-item {
    transition: transform 0.3s ease;
}

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

.step-number {
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    background: #c0392b;
    transform: scale(1.1);
}

/* Адаптивность для блока с цифрами */
@media (min-width: 768px) {
    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 16px;
    }
}

@media (min-width: 1024px) {
    .stat-number {
        font-size: 44px;
    }

    .stat-label {
        font-size: 24px;
    }
}

@media (min-width: 1440px) {
    .stat-number {
        font-size: 70px;
    }

    .stat-label {
        font-size: 30px;
    }
}

@media (min-width: 1990px) {
    .stat-number {
        font-size: 64px;
    }

    .stat-label {
        font-size: 44px;
    }
}

/* Адаптивность */
@media (min-width: 425px) {
    a {
        font-size: 8px;
    }

    .transparent-button {
        padding: 2px 4px;
    }

    .third-section .offers {
        height: auto;
    }
}

@media (min-width: 768px) {
    a {
        font-size: 14px;
    }

    .transparent-button {
        padding: 2px 4px;
    }
}

@media (min-width: 1024px) {
    a {
        font-size: 16px;
    }

    .transparent-button {
        padding: 4px 8px;
    }
    
}

@media (min-width: 1440px) {
    a {
        font-size: 22px;
    }

    .transparent-button {
        padding: 4px 14px;
    }
}

@media (min-width: 1990px) {

    .bottom-button a {
        font-size: 37px;
    }

    .third-section .content {
        margin-top: 60px;
    }

    .transparent-button {
        padding: 6px 20px;
    }

    /* Адаптивность для разделителя */
    .color-div {
        height: 125px;
    }

    .divider-image {
        top: -117px;
    }

    .second-section {
        padding: 150px 20px 50px;
    }
}