.header {
    margin: 0;
    background-color: var(--bg-color);
    color: var(--main-yellow);
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 152px;
    padding-bottom: 152px;
}

.title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    gap: 12px;
}

.title-logo {
    height: 64px;
}

.title-text {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.1em;
}

.buttons {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.btn {
    padding: 0 40px;
    line-height: 48px;
    font-size: 1.4rem;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--main-yellow);
    color: var(--bg-color);
    border: 2px solid var(--main-yellow);
}

.btn-outline {
    background-color: transparent;
    color: var(--main-yellow);
    border: 2px solid var(--main-yellow);
}

.btn:hover {
    opacity: 0.9;
}

.about-container {
    display: flex;
    gap: 72px;
    align-items: stretch;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-text p {
    white-space: pre-line;
    flex-grow: 1;
}

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

.about-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cases {
    gap: 36px;
}

.cases>.slides {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-item__cover {
    width: 100%;
    object-fit: contain;
}

.case-item__title {
    width: 100%;
    object-fit: contain;
}


@media (max-width: 1400px) {
    .about-container {
        gap: 32px;
    }
}

@media (max-width: 1300px) {
    .about-container {
        flex-direction: column;
    }
}

.clients-container {
    display: flex;
    flex-direction: row;
    overflow: visible;
    gap: 32px;
    width: 100%;
}

.auto-scroll {
    animation: scroll 20s linear infinite;
}

.mobile {
    display: none;
}

@media (max-width: 960px) {
    .auto-scroll {
        animation: scroll 10s linear infinite;
    }

    .mobile {
        display: flex;
    }

    .card-content p {
        display: none;
    }
}

@media (max-width: 650px) {
    .auto-scroll {
        animation: scroll 5s linear infinite;
    }
}

.clients-container img {
    margin: 12px 0;
    padding: 12px;
    height: 32px;
    min-width: 32px;
    width: auto;
    flex-shrink: 0;
    background-color: #c7c7c7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    filter: contrast(1.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cases-container {
    display: flex;
    flex-direction: row;
    overflow: visible;
    gap: 32px;
    width: 100%;
}

.cases-container>div {
    width: 320px;
    flex-shrink: 0;
}

p {
    white-space: pre-line;
}

.m-cases-container {
    overflow: hidden;
    display: none;
    position: relative;
}

@media (max-width: 650px) {
    .title {
        flex-direction: column;
        margin-bottom: 0;
    }

    .buttons {
        margin-top: 20px;
    }

    .btn {
        font-size: 1rem;
        line-height: 32px;
        padding: 0 20px;
        border-radius: 5px;
    }

    .header {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .title-text {
        font-size: 1.8rem;
    }

    .title-logo {
        height: 48px;
    }

    .pc-cases-container {
        display: none;
    }

    .m-cases-container {
        display: block;
    }
}