body.tcstrat-service-modal-open {
    overflow: hidden;
}

.tcstrat-service-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 17, 15, 0.62);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tcstrat-service-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tcstrat-service-modal__dialog {
    width: min(900px, 100%);
    max-height: min(88vh, 900px);
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(166, 124, 82, 0.16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    position: relative;
}

.tcstrat-service-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(166, 124, 82, 0.14);
    color: #3D322E;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.tcstrat-service-modal__close:hover {
    background: rgba(166, 124, 82, 0.24);
    transform: scale(1.05);
}

.tcstrat-service-modal__content h2 {
    margin: 0 42px 12px 0;
    color: #3D322E;
    font-size: 1.55rem;
    line-height: 1.35;
}

.tcstrat-service-modal__content h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #3D322E;
}

.tcstrat-service-modal__content p {
    margin: 0 0 8px;
    color: #333;
    line-height: 1.65;
}

.tcstrat-service-modal__content ol {
    margin: 0;
    padding-left: 22px;
}

.tcstrat-service-modal__content ol > li {
    margin-bottom: 16px;
}

.tcstrat-service-modal__content ul {
    margin: 0;
    padding-left: 22px;
    line-height: 1.65;
}

.tcstrat-service-modal__content ul li + li {
    margin-top: 6px;
}

.tcstrat-service-modal-trigger {
    cursor: pointer;
}

@media (max-width: 768px) {
    .tcstrat-service-modal {
        padding: 14px;
    }

    .tcstrat-service-modal__dialog {
        padding: 20px 18px;
        border-radius: 12px;
    }

    .tcstrat-service-modal__content h2 {
        font-size: 1.25rem;
        margin-right: 32px;
    }
}
