.seo-text {
    background-color: var(--gray-10);
}

.seo-text__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.67vw, 32px);
}

.seo-text__content {
    position: relative;
    max-height: clamp(180px, 12.5vw, 240px);
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-text__content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(120px, 10vw, 220px);
    background: linear-gradient(to bottom, rgba(244, 244, 244, 0) 0%, var(--gray-10) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.seo-text__content.is-expanded {
    max-height: 4000px;
}

.seo-text__content.is-expanded::after {
    opacity: 0;
}

.seo-text__title {
    margin: 0 auto;
    font-family: PP Neue Montreal, sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: clamp(22px, 2.92vw, 48px);
    leading-trim: NONE;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: var(--gray-100);
    max-width: 960px;
}

.seo-text__full-content {
    display: flex;
    margin: 24px auto;
    max-width: 960px;
    flex-direction: column;
    gap: clamp(16px, 2vw, 40px);
    margin-top: clamp(24px, 3.33vw, 64px);
    text-align: left;
}

.seo-text__paragraph {
    font-family: PP Neue Montreal, sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 0.94vw, 18px);
    line-height: 1.5;
    color: var(--gray-90);
}

.seo-text__subtitle {
    font-family: PP Neue Montreal, sans-serif;
    font-weight: 500;
    font-size: clamp(18px, 1.67vw, 32px);
    line-height: 1.3;
    color: var(--gray-100);
}

.seo-text__list {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 0.83vw, 16px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.seo-text__list-item {
    position: relative;
    padding-left: clamp(16px, 1.25vw, 24px);
    font-family: PP Neue Montreal, sans-serif;
    font-size: clamp(14px, 0.94vw, 18px);
    line-height: 1.5;
    color: var(--gray-90);
}

.seo-text__list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gray-100);
}

.seo-text__toggle-btn {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    font-family: PP Neue Montreal;
    font-weight: 400;
    font-style: Regular;
    font-size: clamp(14px, 0.94vw, 18px);
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--gray-90);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.seo-text__toggle-btn:hover {
    opacity: 0.7;
}

.seo-text__toggle-btn svg {
    transition: transform 0.3s ease;
}

.seo-text__content:not(.is-expanded)+.seo-text__toggle-btn {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    z-index: 10;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .seo-text__wrapper {
        gap: 24px;
    }

    .seo-text__title {
        font-size: 32px;
    }

    .seo-text__title br {
        display: none;
    }

    .seo-text__full-content {
        margin: 24px auto;
        gap: 20px;
    }

    .seo-text__subtitle {
        font-size: 22px;
    }

    .seo-text__paragraph {
        font-size: 15px;
    }

    .seo-text__list {
        gap: 12px;
    }

    .seo-text__list-item {
        font-size: 15px;
        padding-left: 18px;
    }

    .seo-text__toggle-btn {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .seo-text__title {
        font-size: 26px;
    }

    .seo-text__subtitle {
        font-size: 20px;
    }

    .seo-text__paragraph {
        font-size: 14px;
    }

    .seo-text__list-item {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .seo-text__wrapper {
        gap: 16px;
    }

    .seo-text__title {
        font-size: 22px;
    }

    .seo-text__full-content {
        margin: 16px auto;
        gap: 16px;
    }

    .seo-text__subtitle {
        font-size: 18px;
    }

    .seo-text__paragraph {
        font-size: 14px;
        line-height: 140%;
    }

    .seo-text__list {
        gap: 10px;
    }

    .seo-text__list-item {
        font-size: 13px;
        line-height: 140%;
        padding-left: 16px;
    }

    .seo-text__toggle-btn {
        font-size: 14px;
    }

    .seo-text__content {
        max-height: 160px;
    }

    .seo-text__content::after {
        height: 120px;
    }
}
