.pricing {
    opacity: 1;
}

.pricing__wrapper {
    max-width: 1152px;
    margin: 0 auto 110px auto;
    padding: 0 10px;
}

.pricing__title,
.pricing__subtitle {
    opacity: 1;
    transform: none;
}

.pricing__title {
    margin-bottom: 16px;
}

.pricing__subtitle {
    margin-bottom: 60px;
}

.pricing__groups {
    padding: 100px 32px;
    border: #798b5d 4px solid;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(121, 139, 93, 0.1);
    transition: box-shadow 0.3s ease;
}

.pricing__groups-logo {
    position: absolute;
    top: -51px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 20px;
    transition: transform 0.3s ease;
}

.pricing__group {
    margin-bottom: 32px;
    opacity: 1;
}

.pricing__group-button {
    display: flex;
    gap: 23px;
    align-items: center;
    padding: 12px 16px !important;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pricing__group-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(121, 139, 93, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.pricing__group-button:hover::before {
    left: 100%;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.pricing__group-button.active .arrow-icon {
    transform: rotate(180deg);
}

.pricing__group-table {
    max-width: 1068px;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 16px;
    display: none;
    opacity: 1;
    transform: none;
    transition: all 0.4s ease;
}

.pricing__group-table.show {
    display: table;
}

.pricing__group-table thead tr th:first-child {
    text-align: left;
}

.pricing__group-table thead th:nth-child(3),
.pricing__group-table tbody td:nth-child(3) {
    text-align: center;
    width: 111px;
}

.pricing__group-table tbody td:nth-child(1) {
    width: 30px;
}

.pricing__group-table thead th:nth-child(2),
.pricing__group-table tbody td:nth-child(2) {
    width: 135px;
    word-wrap: break-word;
    white-space: normal;
}

.pricing__group-table thead th {
    font-weight: 600;
    font-size: 24px;
}

.pricing__group-table tbody tr {
    transition: all 0.3s ease;
}

.pricing__text-row {
    font-weight: 500;
}

@media (max-width: 1024px) {
    .pricing__wrapper {
        padding: 0 20px;
    }

    .pricing__groups {
        padding: 80px 24px;
    }

    .pricing__group-table thead th {
        font-size: 20px;
    }

    .pricing__group-table thead th:nth-child(2),
    .pricing__group-table tbody td:nth-child(2) {
        width: 350px;
    }
}

@media (max-width: 768px) {
    .pricing__wrapper {
        margin-bottom: 60px;
        padding: 0 15px;
    }

    .pricing__title {
        font-size: 28px;
        text-align: center;
    }

    .pricing__subtitle {
        margin-bottom: 40px;
        text-align: center;
        font-size: 16px;
    }

    .pricing__groups {
        padding: 60px 16px;
        border-radius: 8px;
    }

    .pricing__groups-logo {
        top: -35px;
        width: 60px;
    }

    .pricing__group {
        margin-bottom: 24px;
    }

    .pricing__group-button {
        gap: 15px;
        padding: 16px 12px !important;
        font-size: 16px;
        flex-wrap: wrap;
    }

    .pricing__group-table {
        border-spacing: 0 8px;
    }

    .pricing__group-table thead th {
        font-size: 16px;
        padding: 8px 4px;
    }

    .pricing__group-table tbody td {
        padding: 12px 4px;
        font-size: 14px;
    }

    .pricing__group-table thead th:nth-child(2),
    .pricing__group-table tbody td:nth-child(2) {
        width: auto;
        min-width: 200px;
    }

    .pricing__group-table thead th:nth-child(3),
    .pricing__group-table tbody td:nth-child(3) {
        width: 80px;
        font-size: 13px;
    }

    .pricing__group-table tbody td:nth-child(1) {
        width: 25px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pricing__title {
        font-size: 24px;
    }

    .pricing__groups {
        padding: 40px 12px;
    }

    .pricing__group-button {
        gap: 10px;
        padding: 14px 8px !important;
        font-size: 15px !important;
    }

    .arrow-icon {
        width: 16px;
        height: 16px;
    }

    .pricing__group-table thead th {
        font-size: 14px;
        padding: 6px 2px;
    }

    .pricing__group-table tbody td {
        padding: 10px 2px;
        font-size: 13px;
    }

    .pricing__group-table thead th:nth-child(3),
    .pricing__group-table tbody td:nth-child(3) {
        width: 60px;
        font-size: 12px;
    }

    .pricing__group-table tbody td:nth-child(1) {
        width: 20px;
        font-size: 12px;
    }
}
