:root {
    --primary-color: rgb(39, 161, 185);
    --primary-color-soft: rgba(39, 161, 185, 0.11);
    --primary-color-glow: rgba(39, 161, 185, 0.06);
}

.mks-text-bg-module {
    width: 100%;
    padding: 96px 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    background-size: 24px 24px;
    position: relative;
    overflow: hidden;
    animation: mks-text-bg-fade-in 0.9s ease-out both;
}

.mks-text-bg-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 36px;
}

.mks-text-bg-content {
    max-width: 620px;
    animation: mks-text-bg-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.12s;
}

.mks-text-bg-eyebrow {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.mks-text-bg-title {
    margin: 0 0 24px;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.mks-text-bg-description {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.mks-text-bg-description-secondary {
    margin-top: 20px;
    opacity: 0.9;
}

@keyframes mks-text-bg-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mks-text-bg-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .mks-text-bg-content {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .mks-text-bg-module {
        padding: 72px 0;
        background-size: 20px 20px;
    }

    .mks-text-bg-inner {
        padding: 0 24px;
    }

    .mks-text-bg-title {
        font-size: 30px;
    }

    .mks-text-bg-description {
        font-size: 16px;
        line-height: 1.7;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mks-text-bg-module,
    .mks-text-bg-content {
        animation: none !important;
        transition: none !important;
    }
}